Revision: 1974
          http://svn.sourceforge.net/vexi/?rev=1974&view=rev
Author:   clrg
Date:     2007-07-10 08:22:13 -0700 (Tue, 10 Jul 2007)

Log Message:
-----------
Fix scrollbar illegally invoking trap function

Modified Paths:
--------------
    widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/scrollbar.t

Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/scrollbar.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/scrollbar.t  
2007-07-10 15:21:32 UTC (rev 1973)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/scrollbar.t  
2007-07-10 15:22:13 UTC (rev 1974)
@@ -35,8 +35,8 @@
         
         // reusable functions
         
-        var moveFunc1 = function(v) { th_thumb.action = true; }
-        var moveFunc2 = function(v) { trackpos = th_track.mouse[pos]; }
+        var moveFunc1 = function(v) { th_thumb.action = true; cascade = v; }
+        var moveFunc2 = function(v) { trackpos = th_track.mouse[pos]; cascade 
= v; }
         
         /** sync viewport with thumb position */
         var syncSlave = function()
@@ -270,7 +270,7 @@
             
             v.repeat ++= function(r)
             {
-                if (r) { Move ++= moveFunc2; moveFunc2(); }
+                if (r) { Move ++= moveFunc2; }
                 else { Move --= moveFunc2; trackpos = null; }
                 cascade = r;
             }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to