mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-28 14:50:08 +03:00
M #~: Fix compatibility with replaceAll method (#1149)
This commit is contained in:
parent
69e83eb161
commit
bfc9632189
@ -471,7 +471,7 @@ define(function(require) {
|
||||
var os = original_tmpl.TEMPLATE.OS ? original_tmpl.TEMPLATE.OS : {};
|
||||
|
||||
for ([key, value] of Object.entries(os)) {
|
||||
os[key] = value.replaceAll('"', '\\"');
|
||||
os[key] = value.replace(/"/g, '\\"');
|
||||
}
|
||||
|
||||
if (boot && boot.length > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user