summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_dashboard.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-06-09 22:07:57 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-06-09 22:07:57 -0700
commit9ecd2ac0e95b3045e763742073d6e6ca1c69832a (patch)
tree4a3d360728329b43ee331df93f51e599d3d411e5 /modules/gallery/views/admin_dashboard.html.php
parent03e9cefa17f1170c8414da672f5fbc3bba9ad56c (diff)
parentf41a232730b02b3fc123aacfacf3dabff46153ae (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views/admin_dashboard.html.php')
-rw-r--r--modules/gallery/views/admin_dashboard.html.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gallery/views/admin_dashboard.html.php b/modules/gallery/views/admin_dashboard.html.php
index c266d7e1..5b8cae2e 100644
--- a/modules/gallery/views/admin_dashboard.html.php
+++ b/modules/gallery/views/admin_dashboard.html.php
@@ -10,23 +10,23 @@
};
$(document).ready(function(){
- $("#gAdminDashboard .gBlock *:first").addClass("gDraggable");
+ $("#gAdminDashboard .gBlock .ui-widget-header").addClass("gDraggable");
$("#gAdminDashboard").sortable({
connectWith: ["#gAdminDashboardSidebar"],
containment: "document",
cursor: "move",
- handle: $("div:first"),
+ handle: $(".ui-widget-header"),
opacity: 0.6,
placeholder: "gDropTarget",
stop: update_blocks
});
- $("#gAdminDashboardSidebar .gBlock *:first").addClass("gDraggable");
+ $("#gAdminDashboardSidebar .gBlock .ui-widget-header").addClass("gDraggable");
$("#gAdminDashboardSidebar").sortable({
connectWith: ["#gAdminDashboard"],
containment: "document",
cursor: "move",
- handle: $("div:first"),
+ handle: $(".ui-widget-header"),
opacity: 0.6,
placeholder: "gDropTarget",
stop: update_blocks