summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_dashboard.html.php
diff options
context:
space:
mode:
authorjhilden <jakobhilden@gmail.com>2009-06-09 23:54:02 -0400
committerjhilden <jakobhilden@gmail.com>2009-06-09 23:54:02 -0400
commitf1c91ab9779542f1605476bc52c57d5f14294e97 (patch)
tree3da1eebeeba64904e670f65f2212b6f5909c613b /modules/gallery/views/admin_dashboard.html.php
parente5d273e929b630ab86ce31bf75c3e0fa3064ced0 (diff)
fixed that you couldn't copy and paste text from the admin dashboard
* made only the block headers draggable, so that the rest of the block could be normal * this should fix bug #292
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