web/views/forms.py
changeset 2045 bf0643d4ef36
parent 2005 e8032965f37a
child 2046 8fce2d25853c
equal deleted inserted replaced
2005:e8032965f37a 2045:bf0643d4ef36
    60                     if value:
    60                     if value:
    61                         self.form_add_hidden(param, value)
    61                         self.form_add_hidden(param, value)
    62         if submitmsg is not None:
    62         if submitmsg is not None:
    63             self.form_add_hidden('__message', submitmsg)
    63             self.form_add_hidden('__message', submitmsg)
    64         self.context = None
    64         self.context = None
       
    65         self.form_add_hidden('__domid', self.domid)
    65         if 'domid' in kwargs:# session key changed
    66         if 'domid' in kwargs:# session key changed
    66             self.restore_previous_post(self.session_key())
    67             self.restore_previous_post(self.session_key())
    67 
    68 
    68     @iclassmethod
    69     @iclassmethod
    69     def _fieldsattr(cls_or_self):
    70     def _fieldsattr(cls_or_self):