summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-19 18:42:53 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-19 18:42:53 +0000
commite8d99f22a1605c47bf2e83cf02a548c5e5c2c87e (patch)
treedf5ee1d5f23ae3015e3d31c992a825bbad438c5b
parent663c38a7e85eb58f2526d2fe7ac9aa6c040bf44d (diff)
Simplify the handling of moves to the beginning or end of the album
-rw-r--r--modules/organize/js/organize.js6
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;
}
});