Bug #4105: Fix start_script input for template update

(cherry picked from commit 4ee8b80cb5)
This commit is contained in:
Carlos Martín committed 2015-10-29 11:32:23 +01:00
1 parent b57d35f42a
commit adc9183a07
1 file changed
+1 -1
@@ -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;
}