Comment #1 on issue 208 by
pvcsnat...@gmail.com: javascript load multiple
This may require a bit of hacking on the core files. The "renderJSFiles"
function in Form.php is where you'll want to look. You can probably build
onto the already existing "prevent" configuration attribute. So something
like this:
protected function renderJSFiles() {
if (!in_array("javascriptFileIncludes", $this->prevent)) {//our new one
line of code
.....
}
}
Then configure the form in your popups to not load javascript like this:
$form->configure(array(
"prevent" => array("javascriptFileIncludes")
));
Note: this does assume any required javascript files have already been
loaded somewhere else on the page. Also note that the above will prevent
the .js files from loading, but any config related to the elements will
still be rendered.