Projet

Général

Profil

Anomalie #1280 » 0001-Fix-wrong-smarty-modifier-value-fixes-1280.patch

Guillaume AGNIERAY, 17/09/2019 16:19

Voir les différences:

galette/templates/default/mailing_adherents.tpl
var _val = _this.val();
switch (_val) {
case '{Galette\Core\GaletteMail::SENDER_PREFS}':
_sender_name.val('{$preferences->pref_email_nom|escape:"js"}');
_sender_address.val('{$preferences->pref_email|escape:"js"}');
_sender_name.val('{$preferences->pref_email_nom|escape:"javascript"}');
_sender_address.val('{$preferences->pref_email|escape:"javascript"}');
break;
case '{Galette\Core\GaletteMail::SENDER_CURRENT}':
_sender_name.val('{$sender_current['name']|escape:"js"}');
_sender_address.val('{$sender_current['email']|escape:"js"}');
_sender_name.val('{$sender_current['name']|escape:"javascript"}');
_sender_address.val('{$sender_current['email']|escape:"javascript"}');
break;
case '{Galette\Core\GaletteMail::SENDER_OTHER}':
_sender_name.val('');
(2-2/3)