[Erp5-report] r19515 - /experimental/Experimental/patches/ERP5Form_ListField_with_jump.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 26 15:15:14 CET 2008


Author: bartek
Date: Tue Feb 26 15:15:14 2008
New Revision: 19515

URL: http://svn.erp5.org?rev=19515&view=rev
Log:
do not fail in ZMI (I think it needs a better implementation)

Modified:
    experimental/Experimental/patches/ERP5Form_ListField_with_jump.py

Modified: experimental/Experimental/patches/ERP5Form_ListField_with_jump.py
URL: http://svn.erp5.org/experimental/Experimental/patches/ERP5Form_ListField_with_jump.py?rev=19515&r1=19514&r2=19515&view=diff
==============================================================================
--- experimental/Experimental/patches/ERP5Form_ListField_with_jump.py (original)
+++ experimental/Experimental/patches/ERP5Form_ListField_with_jump.py Tue Feb 26 15:15:14 2008
@@ -67,6 +67,8 @@
     here = REQUEST['here']
   except KeyError: # we are in listbox and we don't want jump from here
     return ''
+  except TypeError: # we are in ZMI
+    return ''
   # see if jump is allowed
   allow_jump = field.get_value('allow_jump')
   if not allow_jump:




More information about the Erp5-report mailing list