Closed (duplicate)
Project:
Chosen
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2013 at 10:12 UTC
Updated:
5 Mar 2014 at 00:40 UTC
Jump to comment: Most recent
It seems that the usage of chosen directly blocks wysiwyg editors from appearing on node edit forms. I am using CKEditor via wysiwyg module. Checking in chromes console reveals the following error:
Uncaught TypeError: Object #<Object> has no method 'chosen' and pinpointing to chosen.js line 18.
Comments
Comment #1
dddave commentedThis doesn't seem to be a problem with 1.0 btw.
The problem can be mitigated by setting chosen to only be applied to a higher number of items, i.e. exceeding the number of buttons you use on your wysiwyg.
Comment #2
dddave commentedCasually setting to fixed. For some reason I randomly got this issue #1900564: not detecting chosen.js in libraries folder and uploaded the latest library version. Seems to work fine now. Keeping my fingers crossed.
Comment #3
rgauthier commentedHi,
I have the same problem since I have updated chosen module, chosen jquery plugin and libraries module to their last version.
What have you done to fix the problem ?
(ps: got http://drupal.org/node/1900564 too, but fixed it)
Comment #4
dddave commentedTo be honest I only used the latest available version of the chosen.js and that fixed it.
Comment #5
rgauthier commentedOk thank you for you reply, I'll try that.
Comment #6
vegardjo commentedI'm getting the same thing. Using Chosen alpha3, alpha4 and dev (+ Jquery update and Chosen lib 1.0) are preventing CKEditor to appear in node edit forms. Console says
Uncaught TypeError: Object #<Object> has no method 'chosen'.Disabling Chosen gets CKEditor back. I had to downgrade to Chosen alpha2, Chosen library 0.9 and disable jQuery update to get both working.
Comment #7
dave reidThis is a duplicate of #2089005: Chosen alpha3 breaks upload image : ajax error