When I attempt to insert a smiley by clicking on an icon I get the following message in FF 3 (error console),
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://test.friendsofhope.us/sites/default/files/js/c459ce8d799fc098ec0e... :: anonymous :: line 1589" data: no]
Source File: http://test.friendsofhope.us/sites/default/files/js/c459ce8d799fc098ec0e...
Line: 1589
I also get a JavaScript error in IE 7. Another thing that I noticed is that when I put some text (e.g., :smile:) for a smiley into a post only some of the smileys show up. Sometimes no smileys are displayed. Please see this page to see what I mean.
http://test.friendsofhope.us/node/7
I'm running Drupal 6.4 with fckeditor. Any help that someone could provide would be greatly appreciated as I really like this module. If you need to log on to the site, please use the username "Test user"; password is "foobar".
Thanks in advance,
Scott
***** http://custweb.com/ *****
Comments
Comment #1
Gurpartap Singh commentedSmileys module has a little support for fckeditor that too is commented out currently. However, better JS code has been suggested over at http://drupal.org/node/213679 which you may want to use in your smileys.js. Replace the block that reads fckeditor support. It'll likely be included in next release of Smileys module.
Comment #2
kennedyjs commentedThank you for your assistance. That helped some. Smilies get inserted in FF but not in IE. I no longer get a JavaScript error in FF and IE. In FF clicking on the smiley icons adds the corresponding text to the editor window. Is that the correct behavior or should the graphic itself be inserted? Also there is still the problem of some text smilies not being converted into graphics. Do you have any insights on what that may be? Is fckeditor to blame perhaps? --Scott
***** http://custweb.com/ *****
Comment #3
Gurpartap Singh commentedThe visibility issue could be related to http://drupal.org/node/311087 Or maybe fckeditor is tinkering with it.
Comment #4
Gurpartap Singh commentedClosing the issue upon inactivity for non-reproducible issue.