Cleanup formatting/whitespace

Conflicts:
	ui/scripts/vpc.js
This commit is contained in:
Brian Federle 2012-07-26 15:38:56 -07:00
parent e76f8dc577
commit 4a38f2be17
2 changed files with 1620 additions and 1622 deletions

View File

@ -14,7 +14,6 @@
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
(function($, cloudStack) {
var elems = {
vpcConfigureTooltip: function(args) {
@ -463,33 +462,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, {
@ -508,16 +507,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