I'm having an issue in Internet Explorer 8 loading a ctools modal (for editing a file via media module). The modal response is somewhat slow, and then the attachBehaviors that follows is even slower. Between the two it causes the browser to give the "A script on this page is causing Internet Explorer to run slowly" error.

The reason for the performance problems are unrelated to ctools modal. However, I was able to improve the situation greatly by starting a new thread before the modal does attachBehaviors. This way the modal loads without behaviors attached within it, and then attaches them, allowing the user to use the modal faster. Although most sites won't have the slow javascript IE8 nightmare that this site has, I think the change may be a noticeable performance improvement on many sites.

CommentFileSizeAuthor
ctools-modal-performance.patch384 bytesJody Lynn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, ctools-modal-performance.patch, failed testing.