src/pyams_content/component/illustration/zmi/paragraph.py
changeset 368 7cc109b71105
parent 283 9139536eab90
child 395 2a39b333a585
equal deleted inserted replaced
367:392a5ec1b482 368:7cc109b71105
   160                     'object_name': self.context.__name__,
   160                     'object_name': self.context.__name__,
   161                     'title': II18n(self.context).query_attribute('title', request=self.request),
   161                     'title': II18n(self.context).query_attribute('title', request=self.request),
   162                     'visible': self.context.visible
   162                     'visible': self.context.visible
   163                 }
   163                 }
   164             })
   164             })
       
   165         updated = changes.get(IIllustrationParagraph, ())
   165         if 'data' in updated:
   166         if 'data' in updated:
   166             # we have to commit transaction to be able to handle blobs...
   167             # we have to commit transaction to be able to handle blobs...
   167             ITransactionManager(self.context).get().commit()
   168             ITransactionManager(self.context).get().commit()
   168             form = IllustrationInnerEditForm(self.context, self.request)
   169             form = IllustrationInnerEditForm(self.context, self.request)
   169             form.update()
   170             form.update()