mirror of https://github.com/apache/cloudstack.git
cloudstack 3.0 UI - autoscale - rename add action to apply action since the action is used by both creation mode and edit mode now.
This commit is contained in:
parent
6826dd16b5
commit
d218641559
|
|
@ -630,7 +630,7 @@
|
|||
},
|
||||
|
||||
actions: {
|
||||
add: function(args) {
|
||||
apply: function(args) {
|
||||
//validation (begin) *****
|
||||
if(isAdmin() || isDomainAdmin()) { //only admin and domain-admin has access to listUers API
|
||||
var havingApiKeyAndSecretKey = false;
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@
|
|||
var data = cloudStack.serializeForm($('.ui-dialog .autoscaler form'));
|
||||
|
||||
$loading.appendTo($autoscalerDialog);
|
||||
cloudStack.autoscaler.actions.add({
|
||||
cloudStack.autoscaler.actions.apply({
|
||||
formData: formData,
|
||||
context: context,
|
||||
data: data,
|
||||
|
|
|
|||
Loading…
Reference in New Issue