Closed (fixed)
Project:
Fieldset helper
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Aug 2009 at 01:42 UTC
Updated:
23 Dec 2009 at 00:15 UTC
I see the Expand | Collapse menus but they aren't working.
Comments
Comment #1
jrockowitz commentedespirates,
I could not exactly duplicate your issue. My guess is that maybe you had already installed the fieldset_helper module and updated it. I made a minor tweak to my code to try to handle this scenario.
Try un-installing and re-installing the module.
What browser and OS are you using?
Are there any javascript errors being logged?
Thanks,
~Jake
Comment #2
espirates commentedJust these errors
Comment #3
jrockowitz commentedespirates,
Thanks for submitting your javascript error log. Neither one of the below script error's stacktrace is from the fieldset_helper's javascript file.
this.contentDocument.postMessage('cooliris')function(){if(time)clearTimeout(time);}
My guess is a different module that is installed is throwing the above errors which is killing all the javascript, including the fieldset helper, on the page.
Do you have 'Optimize JavaScript files' enabled in Administer > Site configuration > Performance (admin/settings/performance)?
If it is enabled try disabling it and check if the Expand/Collapse starts working. You can then view the page source and see which javascript files are being loaded. Cut-n-paste the list here and I will try to figure which script is throwing the error.
Thanks
~jake
Comment #4
espirates commentedI only have a few other modules enabled, don't think they could be interfering, the module just isn't working on mac using Opera and Safari browser.
I did managed to find this error messages
Comment #5
jrockowitz commentedI don't own a mac but I have tested the code in Safari PC and Opera Linux. Can you test the issue using Firefox which usually has a more detailed error log?
If it is my code I have to pinpoint where the [undefined] item is before I can fix the problem.
You might install just this module in a new Drupal installation and confirm that the bug still exists?
If you can't do a clean install I will set one up and email you the login.
There is also a hidden test page (admin/settings/fieldset_helper/test) that you can use make sure the fieldset helper script is not working. This would help me confirm that the issue is only be occurring on the module page and nowhere else.
Thanks for having patience.
Comment #6
espirates commentedNot working on SlowFox either, on the test page the only thing working is Test a collapsible fieldset that is just plain html, the others only work if you manually click the fieldset.
Error Console
Comment #7
jrockowitz commented'Error: Drupal.FieldsetHelper is undefined' means that the fieldset_helper.js file is just not loading due to a script error on the page.
Please try my demonstration page and see if it works.
http://drupal.bigbluedrop.com/admin/settings/fieldset_helper/test
If my demo page is working correctly then the issue is either another contributed module and/or theme. The next step would be for you to attach a saved 'zipped' copy of the admin/modules page with all the related files and this will give me a list of all your installed modules with their related javascript files..
If my demo page is not working then I have borrow a Mac laptop to duplicate the issue and fix the problem.
Thanks for your patience,
~jake
Comment #8
espirates commentedOk, I figured out what the problem was, it's the Admin module, http://drupal.org/project/admin
When disabled, the categories now have a toggle arrow and the expand collapse works. Is there anyway to make it work with the Admin module, would hate to give up this Admin theme.
Comment #9
jrockowitz commentedespirates,
This morning I was experimenting with the Admin module and noticed the same problem. I added the problem to my issue queue.
I am not 100% sure I can fix this because the Admin module is basically converting every fieldset to a div and my code is targeting the default Drupal core fieldset output. I am little stumped so I have to think about what is the best solution. I might not be able to get the fieldset_helper module to work within the Admin module's theme.
Thanks
~jake
Comment #10
jrockowitz commentedIssue moved to #566174: Expand all | Collapse all not working on modules page for the Admin module.