Skip to content
Snippets Groups Projects
Commit fbac0780 authored by Patrick Barroca's avatar Patrick Barroca
Browse files

rel #42862 : remove call to load JQuery from form decorator, admin layout does...

rel #42862 : remove call to load JQuery from form decorator, admin layout does not currently handle this
parent a280ae19
Branches
Tags
4 merge requests!1677Hotline master,!1669Master,!1668Hotline master,!1666Hotline#42862 probleme a la creation de notice bibliotheque numeriquecollections
- ticket #42862 : Bibliothéque numérique : Correction de la disparitions des champs multiple dans la modification d'un album
\ No newline at end of file
......@@ -25,8 +25,6 @@ class ZendAfi_Form_Decorator_MultiInput extends Zend_Form_Decorator_Abstract {
*/
public function render($content) {
Class_ScriptLoader::getInstance()
->loadJQuery()
->loadJQueryUI()
->addAdminScript('multi_inputs/multi_inputs.js')
->addJQueryReady('$("#multi_inputs_' . $this->_element->getId() .'").multi_inputs({
fields:' . json_encode($this->_element->getFields()) . ',
......@@ -37,7 +35,7 @@ fixed:' . json_encode($this->_element->getFixed()) . ',
"delete_message":'. json_encode($this->_element->getDeleteMessage()) . '});');
return $content
. ' <div id="multi_inputs_' . $this->_element->getId() . '"></div>';
. ' <div id="multi_inputs_' . $this->_element->getId() . '"></div>';
}
}
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment