[development] control javascript behaviors order

Jack Bates ms419 at freezone.co.uk
Fri Mar 7 18:23:55 UTC 2008

I have one Drupal 6 JavaScript behavior which must be run before another
behavior, however the JavaScripts which set `drupal.behaviors.x` are
included in the page in the opposite order. Consequently the behaviors
are called in the wrong order.

I did a little googling and read the section of drupal.js responsible
for calling behaviors, but haven't found any techniques for controlling
the order of behaviors. Do any techniques for controlling the order of
behaviors currently exist, or are any planned?

Thanks and best wishes, Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 242 bytes
Desc: This is a digitally signed message part
Url : http://lists.drupal.org/pipermail/development/attachments/20080307/31cc1c1d/attachment.pgp 

More information about the development mailing list