CLOUDSTACK-2166:UI Support for remove Vlan for the non-contiguous vlan support:Exception handling
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fa7049a5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fa7049a5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fa7049a5 Branch: refs/heads/ui-vm-affinity Commit: fa7049a5838b2d1c5436cfd8fb13c1a1cf884d88 Parents: 4e9e793 Author: Pranav Saxena <pranav.sax...@citrix.com> Authored: Wed Apr 24 14:02:30 2013 +0530 Committer: Pranav Saxena <pranav.sax...@citrix.com> Committed: Wed Apr 24 14:02:30 2013 +0530 ---------------------------------------------------------------------- ui/scripts/system.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fa7049a5/ui/scripts/system.js ---------------------------------------------------------------------- diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 4f5925c..b2bd42b 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -1028,7 +1028,13 @@ updateTrafficLabels(trafficType, args.data, function() { args.response.success({ _custom: { jobId: jobId }}); }); + }, + + error:function(json){ + args.response.error(parseXMLHttpResponse(json)); + } + }); @@ -1073,7 +1079,13 @@ updateTrafficLabels(trafficType, args.data, function() { args.response.success({ _custom: { jobId: jobId }}); }); + }, + + error:function(json){ + args.response.error(parseXMLHttpResponse(json)); + } + }); },