IE7 and TinyMCE with Plone

ⅰ亾dé卋堺 提交于 2019-12-11 03:57:30

问题


In an out of the box Plone 4.1.4 (4113) on a windows server, some clientside problems occur on IE7 (I know...).

  • Going to the main site: no problem
  • logging in: IE raises a runtime error: Line 505: Expexted identifier, string or number
  • Adding content: IE raises a runtime error: Line 505: Expexted identifier, string or number and gives a javascript error complaining that there is no "TinyMCE_config".

This function doesn't work:

  • TinyMCE refuses to show it's controls and IE7 gives a Javascript error saying:

The institution is planning the move to IE8, but this is not finalized yet.

FF: no problem Chrome: no problem IE8: no problem

Any ideas (besides moving to a different browser...)?

btw: when trying out TinyMCE on their site, IE7 gives no errors at all...


回答1:


Expexted identifier, string or number means the javascript has an unneeded colon (',') somewhere ( http://devharbor.blogspot.it/2011/10/ie7-and-error-expected-identifier.html )

To debug what it is, follow this guide: javascript debugging in internet explorer

I've used http://getfirebug.com/firebuglite and it worked to find the problem :)



来源:https://stackoverflow.com/questions/9889978/ie7-and-tinymce-with-plone

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!