changeset 2170:9c1a8376660c

fix #1, set item arg to correct object
author Ana Balica <ana.balica@gmail.com>
date Sun, 04 Aug 2013 14:46:36 +0300
parents af4aa4702e55
children f4ed647fc40d
files MoinMoin/items/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sat Aug 03 21:19:04 2013 +0300
+++ b/MoinMoin/items/__init__.py	Sun Aug 04 14:46:36 2013 +0300
@@ -739,7 +739,7 @@
                     return redirect(url_for_item(self.name))
         return render_template(self.modify_template,
                                item_name=self.name,
-                               item=item,
+                               item=self,
                                rows_meta=str(ROWS_META), cols=str(COLS),
                                form=form,
                                search_form=None,