Last night I was working in my site just fine with no problems. Today I tried to do some work on the site but all of the expandable links were broken and text fields were all messed up. I traced it down to the Smileys module and when I disable it everything works fine. I'm not sure what happened since I haven't changed anything from last night, why all of a sudden Smileys was causing this issue.

Any idea what might have happened? I would like to be able to re-enable the module.

Comments

Gurpartap Singh’s picture

Status: Active » Postponed (maintainer needs more info)

Use firebug to track down the javascript error/conflict. Also, can you short list the modules you are using which use javascript.

pjnes’s picture

This happened to me, the error was

$("#showSmileysWindow").oneclick is not a function
smileysAutoAttach()smileys.js (line 12)
e()jquery.js (line 2)
e()jquery.js (line 2)
e([function(), function(), function()], function(), undefined)jquery.js (line 2)
e()jquery.js (line 2)
[Break on this error] $('#showSmileysWindow').oneclick(function() {

on line 12.

Changing 'oneclick' to 'click' as mentioned on another support item seems to have fixed it, but once the smileys are expanded they don't go away.

soccastar001’s picture

Sorry, I'm not as technically adept as some of you. I don't know what firebug is or how to run it and I don't know how to tell the difference between modules that use javascript and ones that don't.

I did try holychimp's suggestio though, but changing oneclick to just click on line 12 of smileys.js didn't fix the problem.

Gurpartap Singh’s picture

In case you are using jquery1.1+ you need to change oneclick(function() {...}) to one('click', function() {...}) in smileys.js file.

soccastar001, Firebug is an extension for Firefox browser. In short, it allows you to diagnose a website/page. If an error occurs with javascript, it is likely to prompt you about it. It resides on the bottom right side of your firefox's window. http://getfirebug.com/ Download and install from here, and let me know what kind of error you are getting.

If you still unsure about how to use it, just let me know.

Gurpartap Singh’s picture

Status: Postponed (maintainer needs more info) » Fixed

Assuming the problem to be fixed with the solution mentioned in last comment.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.