diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 21:28:08 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 21:28:08 -0700 |
commit | f41a232730b02b3fc123aacfacf3dabff46153ae (patch) | |
tree | 013756146602e2a11a6eaf726e4529909657e798 | |
parent | d6b808b726a20570e294e6d3eeeb8ea384979ecf (diff) | |
parent | dab0799b6557b7ea2ac5e5a262bae4ecf054b80e (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
-rw-r--r-- | modules/gallery/views/admin_dashboard.html.php | 8 | ||||
-rw-r--r-- | themes/admin_default/css/screen.css | 3 |
2 files changed, 5 insertions, 6 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 diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css index 1ad64fa1..82f85f21 100644 --- a/themes/admin_default/css/screen.css +++ b/themes/admin_default/css/screen.css @@ -327,8 +327,7 @@ li.gDefaultGroup h4, li.gDefaultGroup .gUser { border: none; } -.ui-draggable, -.ui-sortable { +.ui-draggable { cursor: move; } |