Needs review
Project:
Smileys
Version:
5.x-1.2-beta
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
11 Jul 2007 at 05:07 UTC
Updated:
4 Nov 2010 at 06:15 UTC
Jump to comment: Most recent file
Attached patch fixes the JS error when using jQuery 1.1.x +
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | diff.txt | 9.86 KB | dakku |
| #11 | smileys.zip | 1.52 KB | Virr |
| #7 | smileys.js_.txt | 3.25 KB | Virr |
| ts_13.patch | 738 bytes | m3avrck |
Comments
Comment #1
Gurpartap Singh commentedActually, it should be
if you want to run the module with jQuery 1.1 and onwards.
However, this won't make into the module, because it'll break with default drupal 5 installation.
Comment #2
jmai commentedI tried both the proposed patches but it doesn't work. I'm using jQuery 1.2.6
Comment #3
michelleDoesn't work for me on 1.2.6, either. At least not out of the smilies fieldset. If I click show all and use that icon box it works. Setting this back to active... I understand your won't fixing as far as the module goes but any chance of providing an updated patch? Unfortunately, I don't know js so no clue.
Thanks,
Michelle
Comment #4
Gurpartap Singh commentedYou tried the fix in comment #1 right?
If that doesn't fix the problem, you may want to try out the js file from DRUPAL-6--1 branch.
Comment #5
michelleYes, I did #1 and that didn't work. The file from the D6 branch did, though. Since you've already said you won't change it in the module (which makes sense) then confirming that works seems fixed enough to me.
Thanks,
Michelle
Comment #6
michelleHmm... I just noticed that using the 6.x code fixed the fieldset but broke the "show all" link. Any suggestions to get them both working at the same time with 1.2.6?
Thanks,
Michelle
Comment #7
Virr commentedMy version of the script. Adding Smiley like works:)
Comment #8
Gurpartap Singh commentedComment #9
plan9 commentedThanks for the patch Virr. It works for me.
Only the 'more' link to the pop-up window is disabled by the patch - but for me it's not so important
Good work!
:o)
Comment #10
Virr commentedMore link not important for me too :) yr welcome :)
Comment #11
Virr commentednew version with working "more" link
Comment #12
Gurpartap Singh commentedCan you tell exactly what was changed? A diff would be great!
Comment #13
dakku commentedD6 version of smileys.js didnt work for me. I am using D5 with JQuery 1.2.6, however the last patch by Virr worked a treat!
I have attached a diff file for your reference.
edit: erm hold that thought! it doesnt seem to insert any Smilies in the Node, only in the comments! I have tried the "more" link in nodes and no joy..
re-edit: fixed. sorry it was FCKEditor messing up smilies on Forum Nodes, read more here: http://janaksingh.com/blog/drupal-5-disable-fckeditor-content-type-79. I can confirm the last patch to be fully working in D5 with JQuery 1.2.6