Tuesday, August 4, 2009

Firefox 3.5 problems with openCMS

We’ve recently discovered a bug in openCMS specific to Firefox. This problem only effects Firefox (not internet explorer) and only version 3.5 and up.

The problematic behavior occurs when you try to browse directories in the CMS. Most of the time, the system just seems to hang, never updating your workspace directory view, making it difficult (and often impossible) to browse to the content you need to edit or create.

The changes to how Firefox 3.5 and above handles JavaScript may cause problems with other sites and web applications that rely heavily on JavaScript as well. We are currently working on patching openCMS so that it will work natively with Firefox 3.5+ . In the interim, there is a simple workaround that will allow you to configure Firefox 3.5+ so that it will execute JavaScript the same way that pre 3.5 versions did.

  1. Open Firefox
  2. Determine your Firefox version by selecting to Help > About Mozilla Firefox from the menu bar
  3. If your version is 3.5 or greater, then you are affected, continue to step four. Otherwise, you have nothing to worry about
  4. Type:
    about:config
    into the Firefox address bar and hit enter
  5. Click the “I’ll be careful I promise” button
  6. In the Filter box type:
    jit
  7. In the results list, right click on "javascript.options.jit.content" and select Toggle. This should set the value for this entry to false (you can also just double click the entry javascript.options.jit.content to toggle this value between true and false)

That’s it, you’re done. This change does not require you to restart your machine or browser.