1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-13 13:17:39 +03:00

Bug #4105: Fix start_script input for template update

(cherry picked from commit 4ee8b80cb5)
This commit is contained in:
Carlos Martín 2015-10-29 11:31:27 +01:00
parent b57d35f42a
commit adc9183a07

View File

@ -351,7 +351,7 @@ define(function(require) {
$("#ENCODE_START_SCRIPT", context).prop('checked', 'checked');
$("#START_SCRIPT", context).val(atob(value));
} else if ("START_SCRIPT" == key) {
$("#START_SCRIPT", context).val(value);
$("#START_SCRIPT", context).val(TemplateUtils.escapeDoubleQuotes(TemplateUtils.htmlDecode(value)));
} else {
customTagsJSON[key] = value;
}