mirror of https://github.com/apache/cloudstack.git
[UI] update vm nic information after add/remove NIC
This commit is contained in:
parent
9b7ac9dfac
commit
fe1cdbd235
|
|
@ -1962,7 +1962,10 @@
|
|||
success: function(json) {
|
||||
args.response.success({
|
||||
_custom: {
|
||||
jobId: json.addnictovirtualmachineresponse.jobid
|
||||
jobId: json.addnictovirtualmachineresponse.jobid,
|
||||
getUpdatedItem: function(json) {
|
||||
return json.queryasyncjobresultresponse.jobresult.virtualmachine;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -2028,7 +2031,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