hotline#110214: AdvancedSearch : Form is submitted with "Enter" key press
Merged
requested to merge hotline#110214_formulaire_de_recherche_avance_personnalise_action_de_la_touche_entree into hotline
1 unresolved thread
Merge request reports
Activity
Filter activity
32 32 'collection' => $this->_('Collection')]; 33 33 34 34 foreach($this->_axes as $type => $label) 35 $this->addElement('searchAxe', $type, ['label' => $label]); 35 $this->addElement('searchAxe', $type, ['label' => $label, 36 'attribs' => 37 ['onkeypress' => 'if (event.keyCode == 13) { this.form.submit();return false;}'] 38 ]); 36 39 37 40 $this->addUniqDisplayGroup('default'); 38 41 39 42 $this 40 43 ->addElement('select', 'type_recherche', 41 44 ['label' => $this->_('Type de recherche'), 45 'attribs' => 46 ['onkeypress' => 'if (event.keyCode == 13) { this.form.submit();return false;}'], changed this line in version 2 of the diff
enabled an automatic merge when the pipeline for d820ae6d succeeds
mentioned in commit 27b43da4