Cleanup formatting/whitespace

This commit is contained in:
Brian Federle 2012-07-26 15:38:56 -07:00
parent 099af7c283
commit f8bfead038
2 changed files with 1621 additions and 1621 deletions

View File

@ -456,33 +456,33 @@
};
switch(actionID) {
case 'addVM':
action({
context: context,
complete: function(args) {
var pendingVMs = $tier.data('vpc-tier-pending-vms');
case 'addVM':
action({
context: context,
complete: function(args) {
var pendingVMs = $tier.data('vpc-tier-pending-vms');
pendingVMs = pendingVMs ? pendingVMs + 1 : 1;
$tier.addClass('loading');
$tier.data('vpc-tier-pending-vms', pendingVMs);
success(args);
pendingVMs = pendingVMs ? pendingVMs + 1 : 1;
$tier.addClass('loading');
$tier.data('vpc-tier-pending-vms', pendingVMs);
success(args);
}
});
break;
case 'remove':
$loading.appendTo($tier);
action({
context: context,
response: {
success: function(args) {
success($.extend(args, {
remove: true
}));
}
});
break;
case 'remove':
$loading.appendTo($tier);
action({
context: context,
response: {
success: function(args) {
success($.extend(args, {
remove: true
}));
}
}
});
break;
case 'acl':
}
});
break;
case 'acl':
// Show ACL dialog
$('<div>').multiEdit(
$.extend(true, {}, actionArgs.multiEdit, {
@ -501,16 +501,16 @@
}
}).closest('.ui-dialog').overlay();
break;
default:
$loading.appendTo($tier);
action({
context: context,
complete: success,
response: {
success: success,
error: function(args) { $loading.remove(); }
}
});
default:
$loading.appendTo($tier);
action({
context: context,
complete: success,
response: {
success: success,
error: function(args) { $loading.remove(); }
}
});
}
};

File diff suppressed because it is too large Load Diff