summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-17 04:01:39 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-17 04:01:39 +0000
commitb13f7d74607c5910314f7f3ce203adcb24a646e6 (patch)
tree62166f12fccc3679b9dfecfe8eaf0a4c571edefa
parentd568a1e9fd63c97eb86cd84a51bb6770747ec37c (diff)
Fix indentation
-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({