You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2014/12/09 09:56:11 UTC
git commit: updated refs/heads/master to 0fc07e6
Repository: cloudstack
Updated Branches:
refs/heads/master bbca8cda9 -> 0fc07e6ea
[UI] bug fix: update vm info after add/remove nic
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/0fc07e6e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0fc07e6e
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0fc07e6e
Branch: refs/heads/master
Commit: 0fc07e6ea89e53c3d5dcc8fe700792ceedc87e0e
Parents: bbca8cd
Author: Wei Zhou <w....@tech.leaseweb.com>
Authored: Tue Dec 9 09:55:40 2014 +0100
Committer: Wei Zhou <w....@tech.leaseweb.com>
Committed: Tue Dec 9 09:55:40 2014 +0100
----------------------------------------------------------------------
ui/scripts/instances.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0fc07e6e/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 22df9d3..15bc0d1 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -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;
+ }
}
})
}