web/views/editcontroller.py
changeset 3384 f76a38731bc1
parent 2680 66472d85d548
child 3386 ab797c5374b7
equal deleted inserted replaced
2693:3e91d1857bc5 3384:f76a38731bc1
    66         if self._pending_relations:
    66         if self._pending_relations:
    67             for rschema, formparams, x, entity in self._pending_relations:
    67             for rschema, formparams, x, entity in self._pending_relations:
    68                 self.handle_relation(rschema, formparams, x, entity, True)
    68                 self.handle_relation(rschema, formparams, x, entity, True)
    69 
    69 
    70         # XXX this processes *all* pending operations of *all* entities
    70         # XXX this processes *all* pending operations of *all* entities
    71         if form.has_key('__delete'):
    71         if req.form.has_key('__delete'):
    72             todelete += req.list_form_param('__delete', form, pop=True)
    72             todelete += req.list_form_param('__delete', req.form, pop=True)
    73         if todelete:
    73         if todelete:
    74             self.delete_relations(parse_relations_descr(todelete))
    74             self.delete_relations(parse_relations_descr(todelete))
    75         if form.has_key('__insert'):
    75         if form.has_key('__insert'):
    76             toinsert = req.list_form_param('__insert', form, pop=True)
    76             toinsert = req.list_form_param('__insert', form, pop=True)
    77         if toinsert:
    77         if toinsert: