From a1fbc8b1e14049765a3da07a57dffdf4205bc492 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 20 Nov 2009 12:15:05 -0800 Subject: Correct the reference so selections are handled properly when dragging the lasso --- modules/organize/js/organize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/organize/js') diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index 701bad4c..3dbf9a55 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -166,7 +166,7 @@ .selectable({ filter: ".g-organize-microthumb-grid-cell", selected: function(event, ui) { - ui.selected.children(".g-organize-microthumb").addClass("ui-state-highlight"); + $(ui.selected).children(".g-organize-microthumb").addClass("ui-state-highlight"); }, unselected: function(event, ui) { $(ui.unselected).children(".g-organize-microthumb").removeClass("ui-state-highlight"); -- cgit v1.2.3