If the "Collapse module groups on the Modules page" and "Collapse module groups on the Permissions page" options are turned on, my jQuery script (and any other) doesn't work on Modules and Permissions page included from my_theme. I need to move this scripts to a custom module to make it work. Why?
jsFiddle said my codes are valids, and they are working if I include them from a module. Otherwise jsFiddle displays some error message admin menu js files.
Example jquery code: http://pastebin.com/0CyGRHA9
My_theme is a Zen 7.x-5.x subtheme.
Browser: Firefox latest stable, Chrome latest stable