Skip to content
Snippets Groups Projects
Commit 33a623c6 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

Merge branch 'hotline#90677_newsletter_bug_dans_la_gestion_des_domaines_' into 'hotline'

* VERSIONS_HOTLINE/90677: hotline #90677: fix javascript onchange event on…

See merge request !3103
parents 9f88355f fc0562a9
Branches
Tags
5 merge requests!3297WIP: Master,!3107Master,!3106Master,!3105Hotline,!3103* VERSIONS_HOTLINE/90677: hotline #90677: fix javascript onchange event on…
Pipeline #6874 passed with stage
in 34 minutes and 16 seconds
- ticket #90677 : Lettres d'informations : correction de la sélection des domaines et paniers dans les notices
\ No newline at end of file
......@@ -45,12 +45,12 @@ class ZendAfi_Form_Admin_Newsletter extends ZendAfi_Form {
'allowEmpty' => false])
->addElement('select', 'id_catalogue',
['onchange' => "$('#id_panier').val('')",
['onchange' => "if (event.target.value > 0) $('#id_panier').val('0')",
'label' => $this->_('Domaine'),
'multiOptions' => Class_Catalogue::getCataloguesForCombo()])
->addElement('select', 'id_panier',
['onchange' => "$('#id_catalogue').val('')",
['onchange' => "if (event.target.value > 0) $('#id_catalogue').val('0')",
'label' => $this->_('Panier'),
'multiOptions' => Class_PanierNotice::getPaniersForCombo()])
......
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