Oubli : ajout de la notification d'objet modifié, après upload.
authorBenoît Pin <benoit.pin@gmail.com>
Mon, 1 Nov 2010 20:38:49 +0000 (21:38 +0100)
committerBenoît Pin <benoit.pin@gmail.com>
Mon, 1 Nov 2010 20:38:49 +0000 (21:38 +0100)
blobbases.py

index c0084c3..2123d75 100755 (executable)
@@ -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."