web/views/editforms.py
changeset 11294 cd1183a65ebb
parent 10669 155c29e0ed1c
child 11295 00d42916f238
--- a/web/views/editforms.py	Mon Jun 06 21:19:04 2016 +0200
+++ b/web/views/editforms.py	Fri Jun 10 13:21:13 2016 +0200
@@ -52,7 +52,8 @@
     domid = 'deleteconf'
     copy_nav_params = True
     form_buttons = [fw.Button(stdmsgs.BUTTON_DELETE, cwaction='delete'),
-                    fw.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
+                    fw.Button(stdmsgs.BUTTON_CANCEL,
+                              {'class': fw.Button.css_class + ' cwjs-edition-cancel'})]
 
     def __init__(self, *args, **kwargs):
         super(DeleteConfForm, self).__init__(*args, **kwargs)