web/views/baseforms.py
changeset 582 0260b3b71d71
parent 579 77779cca6be6
child 633 087e3f1e87c8
child 969 5a9bb32d0741
--- a/web/views/baseforms.py	Wed Feb 11 15:20:32 2009 +0100
+++ b/web/views/baseforms.py	Wed Feb 11 15:20:49 2009 +0100
@@ -2,7 +2,7 @@
 or a list of entities of the same type
 
 :organization: Logilab
-:copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+:copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 __docformat__ = "restructuredtext en"
@@ -33,6 +33,9 @@
     title = _('delete')
     domid = 'deleteconf'
     onsubmit = None
+    # don't use navigation, all entities asked to be deleted should be displayed
+    # else we will only delete the displayed page
+    need_navigation = False
     
     def call(self):
         """ask for confirmation before real deletion"""