From ce70ab37856eb13f44c9cfc147e91a5c080c0e68 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Fri, 16 Jan 2009 07:22:30 +0000 Subject: Comment and code format fixes --- themes/admin_default/js/ui.init.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'themes/admin_default/js/ui.init.js') diff --git a/themes/admin_default/js/ui.init.js b/themes/admin_default/js/ui.init.js index da01c96e..4905ac5e 100644 --- a/themes/admin_default/js/ui.init.js +++ b/themes/admin_default/js/ui.init.js @@ -7,10 +7,10 @@ $(document).ready(function(){ $('ul.sf-menu').superfish({ delay: 500, animation: { - opacity:'show', - height:'show' + opacity: 'show', + height: 'show' }, - pathClass: 'current', + pathClass: 'current', speed: 'fast' }); @@ -18,8 +18,8 @@ $(document).ready(function(){ var dialogLinks = $(".gDialogLink"); for (var i=0; i < dialogLinks.length; i++) { $(dialogLinks[i]).bind("click", {element: dialogLinks[i]}, handleDialogEvent); - }; - + } + $("#gThemeDetailsForm").ajaxForm( { dataType: "json", success: function(body, result, set) { @@ -29,17 +29,17 @@ $(document).ready(function(){ $("#gMessage").append("" + body.message + ""); } }}); - + // 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({ -- cgit v1.2.3