mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
loader.js: Also match newlines when interpreting multipart content
This commit is contained in:
parent
e68e8c8e9c
commit
70c3023f3c
@ -763,7 +763,7 @@
|
||||
var contentSeparator = req.getResponseHeader('X-Icinga-Multipart-Content');
|
||||
if (!! contentSeparator) {
|
||||
$.each(req.responseText.split(contentSeparator), function (idx, el) {
|
||||
var match = el.match(/for=(\S+)\s+(.*)/m);
|
||||
var match = el.match(/for=(\S+)\s+(.*)/ms);
|
||||
if (!! match) {
|
||||
var $target = $('#' + match[1]);
|
||||
if ($target.length) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user