diff options
| author | Marc <dkm@kataplop.net> | 2009-06-10 09:53:00 +0200 |
|---|---|---|
| committer | Marc <dkm@kataplop.net> | 2009-06-10 09:53:00 +0200 |
| commit | 9b4c7ba73cc86dca8fb6cf81a37fbf806e643483 (patch) | |
| tree | 0c4d3a99471c21103a34ad5e2fb748199fe4f8f2 /modules/gallery/views/admin_dashboard.html.php | |
| parent | 657e17361db19ac1878b2a6d93595a763aef8b15 (diff) | |
| parent | fc64a55f2e6d2e3f16e0806e6672f7d8c8de42a7 (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.php | 8 |
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 |
