1
0
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:
Sergio Betanzos 2021-04-28 11:47:55 +02:00 committed by GitHub
parent 69e83eb161
commit bfc9632189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {