luxia-
[Portfolio.git] / event.zcml
index efdda20..7aa6fbc 100644 (file)
@@ -2,7 +2,12 @@
     xmlns="http://namespaces.zope.org/zope">
   <subscriber
     for=".interfaces.IPhoto
-          zope.app.container.interfaces.IObjectAddedEvent"
+          zope.container.interfaces.IObjectAddedEvent"
+    handler=".event_handlers.processQueueAdd"
+      />
+  <subscriber
+    for=".interfaces.IPhoto
+          zope.lifecycleevent.interfaces.IObjectModifiedEvent"
     handler=".event_handlers.processQueueAdd"
       />
 </configure>
\ No newline at end of file