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:
Ingo Schommer 2011-12-12 18:37:48 +01:00
parent 2170835aeb
commit 02d1ff80a9

View File

@ -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});
},