/** * load the javascript class that manages interaction with the form element * should only be called once * @return string javascript class file */ function formJavascriptClass() { FabrikModelElement::formJavascriptClass('javascript.js', 'components/com_fabrik/plugins/element/fabrikdatabasejoin/', true); FabrikModelElement::formJavascriptClass('javascript.js', 'components/com_fabrik/plugins/element/fabrikuser/', true); }
/** * load in the elements js class * */ function formJavascriptClass() { FabrikModelElement::formJavascriptClass('javascript.js', 'components/com_fabrik/plugins/element/fabrikdatabasejoin/', true); //$$$rob if we allow the popup form we have to load in all the js files now - //same principal as for the calendar viz $params = $this->getParams(); if ($params->get('fabrikdatabasejoin_frontend_add') == 1) { $this->getTableModel()->getPluginManager()->loadJs(); } }