Updated Branches: refs/heads/master f68a74ead -> a03eeae59
CLOUDSTACK-3341: UI > template/ISO page > downloadTemplate/downloadISO action - do not decode URL return in extractTemplate API response. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a03eeae5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a03eeae5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a03eeae5 Branch: refs/heads/master Commit: a03eeae59c63c6a2da1d8c207c03a87b980c2f0a Parents: f68a74e Author: Jessica Wang <[email protected]> Authored: Mon Jul 8 13:10:37 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Mon Jul 8 13:12:57 2013 -0700 ---------------------------------------------------------------------- ui/scripts/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a03eeae5/ui/scripts/templates.js ---------------------------------------------------------------------- diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index b78a94d..00a28cd 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -586,7 +586,7 @@ return 'Downloading template'; }, complete: function(args) { - var url = decodeURIComponent(args.url); + var url = args.url; var htmlMsg = _l('message.download.template'); var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url); return htmlMsg2; @@ -1235,7 +1235,7 @@ return 'label.action.download.ISO'; }, complete: function(args) { - var url = decodeURIComponent(args.url); + var url = args.url; var htmlMsg = _l('message.download.ISO'); var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url); return htmlMsg2;
