From: Benoît Pin Date: Mon, 1 Nov 2010 20:38:49 +0000 (+0100) Subject: Oubli : ajout de la notification d'objet modifié, après upload. X-Git-Url: https://scm.cri.ensmp.fr/git/Photo.git/commitdiff_plain/4f089407d102551470a56a2998d147c2f78235b1 Oubli : ajout de la notification d'objet modifié, après upload. --- diff --git a/blobbases.py b/blobbases.py index c0084c3..2123d75 100755 --- a/blobbases.py +++ b/blobbases.py @@ -487,6 +487,7 @@ class File(Persistent, Implicit, PropertyManager, content_type=self._get_content_type(file, self.__name__, 'application/octet-stream') self.update_data(file, content_type) + notify(ObjectModifiedEvent(self)) if REQUEST: message="Saved changes."