mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #~: Fix compatibility with replaceAll method (#1149)
(cherry picked from commit bfc9632189c5bd0d85b379e4a099211337674b3b) (cherry picked from commit 9902a27644dd77c5cc81ad84ab59b9e8d8beb427)
This commit is contained in:
parent
6112accac8
commit
826eea1588
@ -466,7 +466,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