summaryrefslogtreecommitdiff
path: root/modules/organize/js/organize.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-21 21:29:13 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-21 21:29:13 -0700
commite5a78d39ec49332054cbc1a398d7c110e1d9191c (patch)
treec2acb4731a381b7a1b28fa5ed505a76adb23a3ef /modules/organize/js/organize.js
parent529ded3388673036314eefd5bfb1cfc0b76f7f9e (diff)
parent33690a32bcf132e5ab470ff77ba23c073ac26271 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts: modules/gallery/controllers/albums.php
Diffstat (limited to 'modules/organize/js/organize.js')
-rw-r--r--modules/organize/js/organize.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js
index c30f89e0..cfaff01c 100644
--- a/modules/organize/js/organize.js
+++ b/modules/organize/js/organize.js
@@ -1,12 +1,12 @@
(function($) {
$.organize = {
micro_thumb_draggable: {
- handle: ".ui-state-selected",
+ handle: ".ui-selected",
distance: 10,
cursorAt: { left: -10, top: -10},
appendTo: "#gOrganizeMicroThumbPanel",
helper: function(event, ui) {
- var selected = $(".ui-draggable.ui-state-selected img");
+ var selected = $(".ui-draggable.ui-selected img");
if (selected.length) {
var set = $('<div class="gDragHelper"></div>')
.css({
@@ -37,7 +37,7 @@
},
start: function(event, ui) {
- $("#gOrganizeMicroThumbPanel .ui-state-selected").hide();
+ $("#gOrganizeMicroThumbPanel .ui-selected").hide();
},
drag: function(event, ui) {
@@ -80,7 +80,7 @@
greedy: true,
drop: function(event, ui) {
if ($(event.target).hasClass("gViewOnly")) {
- $(".ui-state-selected").show();
+ $(".ui-selected").show();
$(".gOrganizeMicroThumbGridCell").css("borderStyle", "none");
} else {
$.organize.do_drop({
@@ -142,7 +142,7 @@
$("#gDialog").bind("dialogopen", function(event, ui) {
$("#gOrganize").height($("#gDialog").innerHeight() - 20);
$("#gOrganizeMicroThumbPanel").height($("#gDialog").innerHeight() - 90);
- $("#gOrganizeAlbumTree").height($("#gDialog").innerHeight() - 59);
+ $("#gOrganizeTreeContainer").height($("#gDialog").innerHeight() - 59);
});
$("#gDialog").bind("dialogclose", function(event, ui) {