mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Removed synchronous entwine mode when loading CMS UIs via ajax, which effectively brings down IE (e.g. roughly 10x as many "events" in DynaTrace for IE8)
This commit is contained in:
parent
2170835aeb
commit
02d1ff80a9
@ -151,7 +151,6 @@
|
||||
if(title) document.title = title;
|
||||
|
||||
// Update panels
|
||||
jQuery.entwine.synchronous_mode(true);
|
||||
var newContentEl = $(data);
|
||||
|
||||
if(newContentEl.find('.cms-container').length) {
|
||||
@ -160,10 +159,8 @@
|
||||
|
||||
newContentEl.addClass('loading');
|
||||
contentEl.replaceWith(newContentEl);
|
||||
contentEl.remove();
|
||||
self.redraw();
|
||||
newContentEl.removeClass('loading');
|
||||
jQuery.entwine.synchronous_mode(false);
|
||||
|
||||
self.trigger('afterstatechange', {data: data, status: status, xhr: xhr, element: newContentEl});
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user