You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/07/09 22:46:14 UTC
[32/50] [abbrv] git commit: updated refs/heads/ui-ucs to 9334dab
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/ui-ucs
Commit: a03eeae59c63c6a2da1d8c207c03a87b980c2f0a
Parents: f68a74e
Author: Jessica Wang <je...@apache.org>
Authored: Mon Jul 8 13:10:37 2013 -0700
Committer: Jessica Wang <je...@apache.org>
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;