diff -r 5b75fd66c80e -r d7a270f50f54 web/views/editforms.py --- a/web/views/editforms.py Sun Nov 08 21:53:18 2009 +0100 +++ b/web/views/editforms.py Fri Nov 20 19:35:54 2009 +0100 @@ -51,8 +51,8 @@ domid = 'deleteconf' copy_nav_params = True - form_buttons = [Button(stdmsgs.YES, cwaction='delete'), - Button(stdmsgs.NO, cwaction='cancel')] + form_buttons = [Button(stdmsgs.BUTTON_DELETE, cwaction='delete'), + Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')] @property def action(self): return self._cw.build_url('edit') @@ -113,7 +113,7 @@ _onsubmit = ("return inlineValidateRelationForm('%(rtype)s', '%(role)s', '%(eid)s', " "'%(divid)s', %(reload)s, '%(vid)s', '%(default)s', '%(lzone)s');") _cancelclick = "hideInlineEdit(%s,\'%s\',\'%s\')" - _defaultlandingzone = (u'') _landingzonemsg = _('click to edit this field') # default relation vids according to cardinality @@ -197,14 +197,17 @@ """ w = self.w divid = form.event_args['divid'] - w(u'