Updated Branches: refs/heads/master-6-17-stable 608f1a686 -> 0dc5245a6
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/0dc5245a Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/0dc5245a Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/0dc5245a Branch: refs/heads/master-6-17-stable Commit: 0dc5245a6357b354de1f815a0422eac572e9c904 Parents: 608f1a6 Author: Jessica Wang <[email protected]> Authored: Mon Jul 8 13:10:37 2013 -0700 Committer: Jessica Wang <[email protected]> Committed: Mon Jul 8 13:13:41 2013 -0700 ---------------------------------------------------------------------- ui/scripts/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/0dc5245a/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;
