mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-11 04:58:16 +03:00
Bug #2936: Template wizard cannot save if some values have quotation marks
(cherry picked from commit df4fd64807b5d3027067c4b389bd05a379942a07)
This commit is contained in:
parent
10acc12926
commit
1764f3457e
@ -3317,6 +3317,7 @@ function setup_context_tab_content(context_section) {
|
||||
|
||||
|
||||
$('#FILES_DS', context_section).val(req_string.join(" "));
|
||||
$('#FILES_DS', context_section).val(htmlDecode(context["FILES_DS"]))
|
||||
};
|
||||
}
|
||||
|
||||
@ -4315,7 +4316,7 @@ function fillTemplatePopUp(template, dialog){
|
||||
$("input#INIT_SCRIPTS").val(htmlDecode(value));
|
||||
}
|
||||
else if ("FILES_DS" == key){
|
||||
$('#FILES_DS', context_section).val(htmlDecode(context["FILES_DS"]))
|
||||
$('#FILES_DS', context_section).val(escapeDoubleQuotes(htmlDecode(context["FILES_DS"])))
|
||||
var files = [];
|
||||
while (match = file_ds_regexp.exec(value)) {
|
||||
files.push(match[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user