From e8d99f22a1605c47bf2e83cf02a548c5e5c2c87e Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 19 Apr 2009 18:42:53 +0000 Subject: Simplify the handling of moves to the beginning or end of the album --- modules/organize/js/organize.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/organize/js') diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js index 953fef07..7ab4d19c 100644 --- a/modules/organize/js/organize.js +++ b/modules/organize/js/organize.js @@ -74,13 +74,11 @@ var droppable = { $("#gDragHelper li").each(function(i) { switch (dropTarget) { case 0: - $("#gPlaceHolder").before($("#thumb_" + $(this).attr("ref")).show()); - break; case 1: - $("#gMicroThumbGrid").prepend($("#thumb_" + $(this).attr("ref")).show()); + $("#gPlaceHolder").before($("#thumb_" + $(this).attr("ref")).show()); break; case 2: - $("#gMicroThumbGrid").append($("#thumb_" + $(this).attr("ref")).show()); + $("#gPlaceHolder").before($("#thumb_" + $(this).attr("ref")).show()); break; } }); -- cgit v1.2.3