A client recently asked us for help with a very specific issue. The node edit page was hanging up, but only in Internet Explorer 10, and not in Firefox or Chrome. The client had WYSIWYG editor enabled.
This automatically pointed to a front end issue, not a server issue.
So, we investigated more, and found that the underlying issue is between Internet Explorer and JQuery with a large number of items to be parsed.
Internet Explorer was not able to parse the high number of token items listed (around 220). This causes the browse to hang when rendering the WYSIWYG page, with the following error message:
A script on this page is causing Internet Explorer to run slowly. If it continues to run, you computer might become responsive.
With the option to stop the script.
The real problem is with the critical issue described in #1334456, which is as yet not committed to the repository of the token module.
Fortunately there is an easy workaround, the steps are:
- Install the Token Tweaks module.
- Go to /admin/config/system/tokens.
- Change the Maximum Depth limit from the default of 4 to 1
- Save the changes.
Now the edit form for the node should work normally, and the browser, whichever it is, will not hang anymore.
Note: Thanks to Dave Reid for this workaround.