Community & Support

Where is Drupal.toggleFieldset Called from?

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

Download a program called

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

Thanks a lot. I'm going to

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

---
Marcus

---
Marcus

For furure reference

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

Durrr! :P

---
Marcus

---
Marcus

It's already there

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

an option that requires no

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

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

nobody click here