mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-06 11:36:48 +03:00
luci: Add removing quotes from DESYNC_OPT param
This commit is contained in:
@@ -429,6 +429,10 @@ return baseclass.extend({
|
||||
value = value.replace(/\r/g, '');
|
||||
if (value != "" && value != "\t") {
|
||||
value = '\n' + value + '\n';
|
||||
if (this.multiline == 2) {
|
||||
value = value.replace(/"/g, '');
|
||||
value = value.replace(/'/g, '');
|
||||
}
|
||||
}
|
||||
} else {
|
||||
value = value.replace(/\r\n/g, ' ');
|
||||
|
||||
Reference in New Issue
Block a user