Download & Extend

Smilies are not selectable when resubmitting a page

Project:Smileys
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

When I click on "create content" I see the Smilies box in the form. I can click on the smilies to insert into the text box. However, if I do an error (like missing field in the form, wrong captch code etc.), I can not click on the smilies on the resubmission form. Also "more..." link is not available. Attached two images as an example. submit1.png shows the first submission page that works properly. However, if I forget entering the title, I get the form shown in image submit2.png. As you see, the smilies box strange (grouped to left, no "more..." link) and I can not click on the smilies. Tried both Firefox 3.08 and IE 8.

AttachmentSize
submit1.png16.59 KB
submit2.png16.1 KB

Comments

#1

No update on the problem?

#2

Version:6.x-1.0-alpha5» 6.x-1.x-dev
Status:active» needs review

I verified that the problem still exists in 6.x-1.x-dev and created a patch to fix it.

The patch adds a hook_nodeapi() function to check if the node operation is "verify" and if it is, it checks if the node is supposed to have smileys and if so calls the function to add the smileys.js javascript file that creates the selection form.

AttachmentSize
smileys-437900.patch 607 bytes