Hello, we are on Drupal 6.10.
When IA Browse is enabled, Javascripts on FusionCharts node edit pages malfunction completely, nothing dynamic works at all, including all other collapsible fields and FC selectors, except IA Browse's "Click to browse" link. Though you can attach an image, no chart data can be saved and no other parameters which belong to collapsed fields can be set. Even resizable textarea functionality is lost.
FC is known to be using AHAH callbacks and somehow these two modules can not function together on the same page.
Other node types' edit pages seem to be OK by the way.
Thanks in advance.
Comments
Comment #1
aaronbaumanI'm unable to reproduce this issue on a fresh d6 install.
I successfully installed IA Browse and FC and was able to create a fusion chart node with attached image.
Please provide more info about your setup:
What other modules do you have installed? Color picker widget? Other javascript-y culprits?
What is your operating system / browser?
What is your server setup?
Have you used FireFox w/ Firebug? What kind of output do you get?
Do you have any custom modules installed?
The collapsible fieldsets are notoriously buggy and will break on almost any javascript error.
If your page loads w/ broken fieldsets, there's something going wrong even before the AHAH callbacks.
Comment #2
chawl commentedIndeed Colorpicker seems to have a problem, but as you know, it is required for FC nodes. Initial result is, when IAB is enabled (Firefox 3.0.7) Firebug error says:
Also IE8 Beta on Windows 7 shows an error on the same JS file, on the same line.
Our module list is rather crowded but similar to one of our live sites, no exotic JSs, no custom modules and our server is our own and is a production server which runs on Centos 5.2.
I will investigate it further and try to isolate the problem, then I will post the results here.
Tx for your fast consideration.
Comment #3
aaronbaumanThe first line of firebug output is particularly disconcerting:
farbtastic js lib is part of drupal core (not sure when it was added).
further, on my clean install i did the following:
* enabled all modules required by and depending on color picker (including color picker widget)
* added a cck color picker field and cck color text field
and i was still unable to reproduce this issue.
Can you confirm that IA Browse is or is not the culprit by temporarily disabling it?
Comment #4
chawl commentedOk, some (premature) results. Enabling or disabling CP CCK Widget module has no effect on the situation by the way, also I set the theme to Garland and disabled almost all JS using modules, same results on Firefox 3.0.7 and IE8 Beta on W7:
Colorpicker 6.x-2.0-rc1 + IAB + FC:
Farbtastic error on line 49, no collapsibles, no chart save, no FC AHAH callback, no JS works.
Colorpicker 6.x-1.0-beta1 + IAB + FC:
Collapsibles OK but no CP badges for color fields, no FC AHAH callback/no throbber, try changing chart type to Multiseries, grid should reflect the change but nothing happens and Firebug gives the following error, but chart "saves". May be this is your situation.
Colorpicker 6.x-2.0-rc1 + FC:
On FC AHAH callback Firebug says "colorpicker_init is not defined" just once and some Drupal errors come, obviously FC is not (fully) compatible with CP 2.0, nothing to do with IAB anyway, but everything still works including AHAH callbacks and with proper CP badges on color fields, and chart saves.
Colorpicker 6.x-1.0-beta1 + FC:
Everything is OK, no errors, no flaws, chart saves.
I will setup a test site and compare the situation by the way. Sorry if this really is a local issue.
Tx for your time.
Comment #5
aaronbaumanahhhhhh - found the issue.
dunno how this got past me, or why it wasn't breaking the entire site, but somehow misc/jquery.js was being included twice in scripts.
oy vey.
patch committed to head and attached
Comment #6
chawl commentedAbsolutely confirming the patch is OK, and the issue is resolved :)
Thank you very much.
Comment #7
aaronbaumanThanks for helping out chawl