# HG changeset patch # User Thierry Florac # Date 1542633292 -3600 # Node ID 8f073ae1b302ec688785efd6db27e59d7ccd4726 # Parent c691e4bfbe19056735b737c85b36f66218c6bd74 Update "append" method locate call diff -r c691e4bfbe19 -r 8f073ae1b302 src/pyams_content/component/gallery/__init__.py --- a/src/pyams_content/component/gallery/__init__.py Mon Nov 19 11:54:44 2018 +0100 +++ b/src/pyams_content/component/gallery/__init__.py Mon Nov 19 14:14:52 2018 +0100 @@ -57,7 +57,7 @@ key = str(self.last_id) if not notify: # pre-locate gallery item to avoid multiple notifications - locate(value, self.key) + locate(value, self, key) self[key] = value self.last_id += 1 if not notify: