changeset 793 | 4bde741aa2bb |
parent 784 | 23eaf3aa19b1 |
child 799 | 30a912906a57 |
--- a/app/soc/views/models/timeline.py Thu Jan 08 21:24:36 2009 +0000 +++ b/app/soc/views/models/timeline.py Thu Jan 08 21:44:03 2009 +0000 @@ -81,6 +81,13 @@ return super(View, self).edit(request, access_type, page_name=page_name, params=params, seed=seed, **kwargs) + + def _editPost(self, request, entity, fields): + """See base.View._editPost(). + """ + + # a timeline can only be edited, so set the scope path using entity + fields['scope_path'] = entity.scope_path view = View()