[web/views/massmailing] fix cancel button msg/icon
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 02 Jul 2010 19:14:48 +0200
changeset 5876 e77aa963fb19
parent 5875 e707d481219e
child 5877 0c7b7b76a84f
[web/views/massmailing] fix cancel button msg/icon
web/views/massmailing.py
--- a/web/views/massmailing.py	Fri Jul 02 19:05:58 2010 +0200
+++ b/web/views/massmailing.py	Fri Jul 02 19:14:48 2010 +0200
@@ -79,7 +79,7 @@
     form_buttons = [ImgButton('sendbutton', "javascript: $('#sendmail').submit()",
                               _('send email'), 'SEND_EMAIL_ICON'),
                     ImgButton('cancelbutton', "javascript: history.back()",
-                              stdmsgs.BUTTON_CANCEL, 'CANCEL_EMAIL_ICON')]
+                              _(stdmsgs.BUTTON_CANCEL[0]), stdmsgs.BUTTON_CANCEL[1])]
     form_renderer_id = __regid__
 
     def __init__(self, *args, **kwargs):