loader.js: Don't use the regex DotAll modifier, it's ES2018+ only
i.e. not supported by Microsoft Edge
This commit is contained in:
parent
9dae3bdf88
commit
5c5e83a700
|
@ -790,7 +790,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$.each(req.responseText.split(contentSeparator), function (idx, el) {
|
$.each(req.responseText.split(contentSeparator), function (idx, el) {
|
||||||
var match = el.match(/for=(Behavior:)?(\S+)\s+(.*)/ms);
|
var match = el.match(/for=(Behavior:)?(\S+)\s+([^]*)/m);
|
||||||
if (!! match) {
|
if (!! match) {
|
||||||
if (match[1]) {
|
if (match[1]) {
|
||||||
var behavior = _this.icinga.behaviors[match[2].toLowerCase()];
|
var behavior = _this.icinga.behaviors[match[2].toLowerCase()];
|
||||||
|
|
Loading…
Reference in New Issue