mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-3341: UI > template/ISO page > downloadTemplate/downloadISO action - do not decode URL return in extractTemplate API response.
This commit is contained in:
parent
f68a74eada
commit
a03eeae59c
@ -586,7 +586,7 @@
|
|||||||
return 'Downloading template';
|
return 'Downloading template';
|
||||||
},
|
},
|
||||||
complete: function(args) {
|
complete: function(args) {
|
||||||
var url = decodeURIComponent(args.url);
|
var url = args.url;
|
||||||
var htmlMsg = _l('message.download.template');
|
var htmlMsg = _l('message.download.template');
|
||||||
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
|
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
|
||||||
return htmlMsg2;
|
return htmlMsg2;
|
||||||
@ -1235,7 +1235,7 @@
|
|||||||
return 'label.action.download.ISO';
|
return 'label.action.download.ISO';
|
||||||
},
|
},
|
||||||
complete: function(args) {
|
complete: function(args) {
|
||||||
var url = decodeURIComponent(args.url);
|
var url = args.url;
|
||||||
var htmlMsg = _l('message.download.ISO');
|
var htmlMsg = _l('message.download.ISO');
|
||||||
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
|
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
|
||||||
return htmlMsg2;
|
return htmlMsg2;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user