Skip to content
Snippets Groups Projects
Commit 9627f200 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

XWIKI-17170: LiveTables not working on IE 11 - "The environment prevents the...

XWIKI-17170: LiveTables not working on IE 11 - "The environment prevents the table from loading data."
parent e73b9674
No related branches found
No related tags found
No related merge requests found
...@@ -1381,7 +1381,9 @@ var init = function(event) { ...@@ -1381,7 +1381,9 @@ var init = function(event) {
elements.forEach(function(element) { elements.forEach(function(element) {
var liveTableElements = element.classList.contains('xwiki-livetable') ? [element] : var liveTableElements = element.classList.contains('xwiki-livetable') ? [element] :
element.querySelectorAll('.xwiki-livetable'); element.querySelectorAll('.xwiki-livetable');
liveTableElements.forEach(maybeCreateLiveTable); // Iterate the NodeList of live table elements in a way that is compatible with IE11.
// See XWIKI-17170: LiveTables not working on IE11
Array.prototype.forEach.call(liveTableElements, maybeCreateLiveTable);
}); });
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment