From: Graeme M. <ma...@us...> - 2006-01-16 17:16:09
|
Update of /cvsroot/mailmanager/MailManager/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13918 Modified Files: Tag: RELENG_2_0_1 AccountSettings.zpt Log Message: Correctly set the user/group notification during the confirmation phase. Hopefully this will fix #1404595 once and for all. Index: AccountSettings.zpt =================================================================== RCS file: /cvsroot/mailmanager/MailManager/www/AccountSettings.zpt,v retrieving revision 1.31.2.9 retrieving revision 1.31.2.10 diff -u -d -r1.31.2.9 -r1.31.2.10 --- AccountSettings.zpt 3 Nov 2005 12:06:12 -0000 1.31.2.9 +++ AccountSettings.zpt 16 Jan 2006 17:16:00 -0000 1.31.2.10 @@ -735,16 +735,10 @@ tal:attributes="value request/assign_user" /> <input type="hidden" name="assign_group" tal:attributes="value request/assign_group" /> - <tal:assignuser condition="python:test(request.get('assign_user'))"> - <input tal:condition="exists:request/notify_user" - type="hidden" name="notify_user" value="1" /> - <input type="hidden" name="notify_group" value="0" /> - </tal:assignuser> - <tal:assigngroup condition="python:not test(request.get('assign_user'))"> - <input tal:condition="exists:request/notify_group" - type="hidden" name="notify_group" value="1" /> - <input type="hidden" name="notify_user" value="0" /> - </tal:assigngroup> + <input type="hidden" name="notify_user" + tal:attributes="value request/notify_user|string:" /> + <input type="hidden" name="notify_group" + tal:attributes="value request/notify_group|string:" /> <input type="hidden" name="routing" tal:attributes="value request/routing" /> <input type="hidden" name="mail_server" |