I'm trying to make it so that when one collapsible fieldset of a particular class expands, any others that are expanded collapse. This isn't really the issuse as ive already written my script to do it.

The problems is i'm new to the drupal file structure and i need to see how Drupal.toggleFieldset() is called so that i can call my own functions in the same place.

Hope this makes sense. Thanks in advance.

Comments

yuriy.babenko’s picture

Download a program called "Windows GREP" - fantastic search tool which will help you easily sort out questions such as this one.
---
Yuriy Babenko
www.yubastudios.com

---
Yuriy Babenko | Technical Consultant & Senior Developer
http://yuriybabenko.com

MarcusB416’s picture

Thanks a lot. I'm going to try this on my windows box but any similar appications available for OS X?

---
Marcus

MarcusB416’s picture

For furure reference Drupal.toggleFieldset() is called later on in the same file where it is definied... collapse.js

Durrr! :P

---
Marcus

rimian’s picture

I got a new mac (at work) yesterday. Grep is already on it.

WorldFallz’s picture

an option that requires no sw installation: http://drupalcodesearch.com

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz