From a633e8cd258df2aabc7e9a4cbf095c86d87b8dcd Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 17 Jul 2008 20:16:13 -0400 Subject: [PATCH] Fix for scroll panel when dropping while still overlapping the edge. --- static/scripts/galaxy.ui.scrollPanel.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/scripts/galaxy.ui.scrollPanel.js b/static/scripts/galaxy.ui.scrollPanel.js index d4834cb88db..3dc96404105 100644 --- a/static/scripts/galaxy.ui.scrollPanel.js +++ b/static/scripts/galaxy.ui.scrollPanel.js @@ -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 ); + } }); \ No newline at end of file