summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_dashboard.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
committerAndy Staudacher <andy.st@gmail.com>2009-11-15 19:44:47 -0800
commit0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch)
tree6877946232f1b01b1c8709054c689f6658cef34f /modules/gallery/views/admin_dashboard.html.php
parent218493c50be9362d4abed6900a816308fee5d978 (diff)
parent9379308f91a476f790fb8d444536719535c584e4 (diff)
Merge commit 'upstream/master'
Conflicts: modules/gallery/tests/xss_data.txt
Diffstat (limited to 'modules/gallery/views/admin_dashboard.html.php')
-rw-r--r--modules/gallery/views/admin_dashboard.html.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/gallery/views/admin_dashboard.html.php b/modules/gallery/views/admin_dashboard.html.php
index 148de65f..f391547e 100644
--- a/modules/gallery/views/admin_dashboard.html.php
+++ b/modules/gallery/views/admin_dashboard.html.php
@@ -3,34 +3,34 @@
update_blocks = function() {
$.get(<?= html::js_string(url::site("admin/dashboard/reorder")) ?>,
{"csrf": "<?= $csrf ?>",
- "dashboard_center[]": $("#gAdminDashboard").sortable(
+ "dashboard_center[]": $("#g-admin-dashboard").sortable(
"toArray", {attribute: "block_id"}),
- "dashboard_sidebar[]": $("#gAdminDashboardSidebar").sortable(
+ "dashboard_sidebar[]": $("#g-admin-dashboard-sidebar").sortable(
"toArray", {attribute: "block_id"})});
};
$(document).ready(function(){
- $("#gAdminDashboard .gBlock .ui-widget-header").addClass("gDraggable");
- $("#gAdminDashboard").sortable({
- connectWith: ["#gAdminDashboardSidebar"],
+ $("#g-admin-dashboard .g-block .ui-widget-header").addClass("g-draggable");
+ $("#g-admin-dashboard").sortable({
+ connectWith: ["#g-admin-dashboard-sidebar"],
cursor: "move",
handle: $(".ui-widget-header"),
opacity: 0.6,
- placeholder: "gDropTarget",
+ placeholder: "g-target",
stop: update_blocks
});
- $("#gAdminDashboardSidebar .gBlock .ui-widget-header").addClass("gDraggable");
- $("#gAdminDashboardSidebar").sortable({
- connectWith: ["#gAdminDashboard"],
+ $("#g-admin-dashboard-sidebar .g-block .ui-widget-header").addClass("g-draggable");
+ $("#g-admin-dashboard-sidebar").sortable({
+ connectWith: ["#g-admin-dashboard"],
cursor: "move",
handle: $(".ui-widget-header"),
opacity: 0.6,
- placeholder: "gDropTarget",
+ placeholder: "g-target",
stop: update_blocks
});
});
</script>
-<div id="gAdminDashboard">
+<div id="g-admin-dashboard">
<?= $blocks ?>
</div>