Fix for scroll panel when dropping while still overlapping the edge.

This commit is contained in:
James Taylor
2008-07-17 20:16:13 -04:00
parent b1c4645b54
commit a633e8cd25
+5 -1
View File
@@ -80,5 +80,9 @@ $.ui.plugin.add("draggable", "scrollPanel", {
instance.old_e = e;
instance.timeout = setTimeout( function() { instance.mouseMove( e ) }, 50 );
}
}
},
stop: function( e, ui ) {
var instance = $(this).data("draggable");
clearTimeout( instance.timeout );
}
});