diff options
Diffstat (limited to 'themes/admin_default/js/ui.init.js')
-rw-r--r-- | themes/admin_default/js/ui.init.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js index 23d6cdea..e59a5a0b 100644 --- a/themes/admin_default/js/ui.init.js +++ b/themes/admin_default/js/ui.init.js @@ -30,28 +30,4 @@ $(document).ready(function(){ } } }); - - // Sortable dashboard blocks - if ($(".ui-dialog-titlebar-close").length) { - $(".gBlock *:first").addClass("gDraggable"); - $("#gContent").sortable({ - connectWith: ["#gSidebar"], - cursor: "move", - handle: $("div:first"), - opacity: 0.6, - placeholder: "gDropTarget", - update: function() { console.log($(this).sortable("serialize")); } - // @todo stop: function() { .ajax() } - }); - $("#gSidebar").sortable({ - connectWith: ["#gContent"], - containment: "document", - cursor: "move", - handle: $("div:first"), - opacity: 0.6, - placeholder: "gDropTarget", - update: function() { console.log($(this).sortable("serialize")); } - // @todo stop: function() { .ajax() } - }); - } }); |