diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-19 18:42:53 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-19 18:42:53 +0000 |
commit | e8d99f22a1605c47bf2e83cf02a548c5e5c2c87e (patch) | |
tree | df5ee1d5f23ae3015e3d31c992a825bbad438c5b /modules | |
parent | 663c38a7e85eb58f2526d2fe7ac9aa6c040bf44d (diff) |
Simplify the handling of moves to the beginning or end of the album
Diffstat (limited to 'modules')
-rw-r--r-- | modules/organize/js/organize.js | 6 |
1 files changed, 2 insertions, 4 deletions
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; } }); |