UI code cleanup: Fix trailing commas in JS

This commit is contained in:
Brian Federle 2013-09-24 11:16:13 -07:00
parent daec10e37a
commit 34c04a4546
9 changed files with 437 additions and 444 deletions

View File

@ -183,7 +183,7 @@
var $router = elems.tier({
context: args.context,
tier: {
name: 'Router',
name: 'Router'
},
dashboardItems: args.dashboardItems
}).addClass('router');

View File

@ -88,7 +88,7 @@
custom: cloudStack.uiCustom.accountsWizard(
cloudStack.accountsWizard
)
},
}
}
},

View File

@ -111,7 +111,7 @@
},
port: {
label: 'LDAP Port'
},
}
},
dataProvider: function(args) {
var data = {};
@ -329,4 +329,4 @@
}
}
};
})(cloudStack);
})(cloudStack);

View File

@ -382,7 +382,7 @@
zoneid: args.zoneId,
guestiptype: 'Isolated',
supportedServices: 'SourceNat',
state: 'Enabled',
state: 'Enabled'
};
if ('vpc' in args.context) { //from VPC section
@ -2071,7 +2071,7 @@
$.ajax({
url: createURL('listPublicIpAddresses'),
data: $.extend({}, data, {
forvirtualnetwork: true, //IPs are allocated on public network
forvirtualnetwork: true //IPs are allocated on public network
}),
dataType: "json",
async: false,

View File

@ -438,7 +438,7 @@ var addGuestNetworkDialog = {
subdomainaccess: {
label: 'label.subdomain.access',
isBoolean: true,
isHidden: true,
isHidden: true
},
account: {
label: 'label.account'

View File

@ -188,7 +188,7 @@
number: true
},
isHidden: true
},
}
}
},

File diff suppressed because it is too large Load Diff

View File

@ -1316,7 +1316,7 @@
//***** updateIsoPermissions *****
var data = {
id: args.context.isos[0].id,
zoneid: args.context.isos[0].zoneid,
zoneid: args.context.isos[0].zoneid
};
//if args.data.ispublic is undefined, do not pass ispublic to API call.
if (args.data.ispublic == "on") {

View File

@ -81,13 +81,13 @@
label: 'label.name'
},
displayname: {
label: 'label.display.name',
label: 'label.display.name'
},
type: {
label: 'label.vmsnapshot.type',
label: 'label.vmsnapshot.type'
},
description: {
label: 'label.description',
label: 'label.description'
},
state: {
label: 'label.state',
@ -106,8 +106,7 @@
created: {
label: 'label.date',
converter: cloudStack.converters.toLocalDate
},
}
},
dataProvider: function(args) {
$.ajax({