mirror of https://github.com/apache/cloudstack.git
scale up vm/systemvm/routerVM response handline
This commit is contained in:
parent
1b82ca2a7a
commit
7e8234f7fe
|
|
@ -1266,9 +1266,9 @@
|
|||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
// var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success();
|
||||
/* {_custom:
|
||||
var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success({
|
||||
_custom:
|
||||
{jobId: jid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
|
|
@ -1277,7 +1277,7 @@
|
|||
return vmActionfilter;
|
||||
}
|
||||
}
|
||||
} */
|
||||
});
|
||||
|
||||
},
|
||||
error:function(json){
|
||||
|
|
|
|||
|
|
@ -6507,19 +6507,19 @@
|
|||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
// var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success();
|
||||
/* {_custom:
|
||||
var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success({
|
||||
_custom:
|
||||
{jobId: jid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
},
|
||||
getActionFilter: function() {
|
||||
return vmActionfilter;
|
||||
return systemvmActionfilter;
|
||||
}
|
||||
|
||||
}
|
||||
} */
|
||||
});
|
||||
|
||||
},
|
||||
error:function(json){
|
||||
|
|
@ -7428,18 +7428,18 @@
|
|||
dataType: "json",
|
||||
async: true,
|
||||
success: function(json) {
|
||||
// var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success();
|
||||
/* {_custom:
|
||||
var jid = json.scalevirtualmachineresponse.jobid;
|
||||
args.response.success({
|
||||
_custom:
|
||||
{jobId: jid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
},
|
||||
getActionFilter: function() {
|
||||
return vmActionfilter;
|
||||
return routerActionfilter;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
});
|
||||
|
||||
},
|
||||
error:function(json){
|
||||
|
|
|
|||
Loading…
Reference in New Issue