Firefox bug when using TinyMCE with BlogCFC - [ Exception NS_ERROR _NOT_AVAILABLE ]

I've just discovered that when using TinyMCE with BlogCFC an exception is generated in Firefox 2 which means you can't use the editor component.

I have worked out a fix, which is due to the BlogCFC post entry page initially setting the main div (tabber) to 'display:none':

admin/entry.cfm - line 246 (in BlogCFC 5.9):

<script type="text/javascript">
//Used to hide tabber flash

document.write('<style type="text/css">.tabber{display:none;}<\/style>');
</script>

To fix, simply remove this style:

<script type="text/javascript">
//Used to hide tabber flash

document.write('<style type="text/css">.tabber{}<\/style>');
</script>

I thought this might affect the operation of the tab switching but it seems to have no visible effect, so all is well.

Let me know if anyone get's an issue with this.

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
© 2014 James Allen | Contact Me
This blog runs on the awesome power of BlogCFC - created by Raymond Camden. This blog is running version 5.9.