Repository: cloudstack Updated Branches: refs/heads/master 5bac24c08 -> 6ac082b9d
CLOUDSTACK-7318: [UI] Add error handler for VM snapshot creation Fixes the issue where processing wheel continue to spin even after error message is displayed during VM snapshot creation Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6ac082b9 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6ac082b9 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6ac082b9 Branch: refs/heads/master Commit: 6ac082b9d0396a84bb3232a0dd88ae0501cc3b39 Parents: 5bac24c Author: Mihaela Stoica <mihaela.sto...@citrix.com> Authored: Thu Nov 6 17:04:31 2014 +0000 Committer: Brian Federle <brian.fede...@citrix.com> Committed: Tue Nov 11 11:28:10 2014 -0800 ---------------------------------------------------------------------- ui/scripts/instances.js | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6ac082b9/ui/scripts/instances.js ---------------------------------------------------------------------- diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 3d5f9b8..21926ea 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -96,6 +96,9 @@ } } }); + }, + error: function(json) { + args.response.error(parseXMLHttpResponse(json)); } }); });