summaryrefslogtreecommitdiff
path: root/themes/admin_default/js
diff options
context:
space:
mode:
Diffstat (limited to 'themes/admin_default/js')
-rw-r--r--themes/admin_default/js/ui.init.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js
index 4905ac5e..23d6cdea 100644
--- a/themes/admin_default/js/ui.init.js
+++ b/themes/admin_default/js/ui.init.js
@@ -20,7 +20,7 @@ $(document).ready(function(){
$(dialogLinks[i]).bind("click", {element: dialogLinks[i]}, handleDialogEvent);
}
- $("#gThemeDetailsForm").ajaxForm( {
+ $("#gThemeDetailsForm").ajaxForm({
dataType: "json",
success: function(body, result, set) {
if (body.result == "success") {
@@ -28,18 +28,19 @@ $(document).ready(function(){
} else {
$("#gMessage").append("<span class='gError'>" + body.message + "</span>");
}
- }});
+ }
+ });
// Sortable dashboard blocks
if ($(".ui-dialog-titlebar-close").length) {
$(".gBlock *:first").addClass("gDraggable");
- $("#gContent").sortable({
+ $("#gContent").sortable({
connectWith: ["#gSidebar"],
cursor: "move",
handle: $("div:first"),
opacity: 0.6,
placeholder: "gDropTarget",
- update: function() { console.log($(this).sortable("serialize")); }
+ update: function() { console.log($(this).sortable("serialize")); }
// @todo stop: function() { .ajax() }
});
$("#gSidebar").sortable({