mirror of https://github.com/apache/cloudstack.git
[UI] bug fix: update vm info after add/remove nic
This commit is contained in:
parent
bbca8cda94
commit
0fc07e6ea8
|
|
@ -2043,7 +2043,10 @@
|
|||
success: function(json) {
|
||||
args.response.success({
|
||||
_custom: {
|
||||
jobId: json.addnictovirtualmachineresponse.jobid
|
||||
jobId: json.addnictovirtualmachineresponse.jobid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -2109,7 +2112,10 @@
|
|||
success: function(json) {
|
||||
args.response.success({
|
||||
_custom: {
|
||||
jobId: json.removenicfromvirtualmachineresponse.jobid
|
||||
jobId: json.removenicfromvirtualmachineresponse.jobid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue