[Erp5-report] r33836 jerome - /erp5/trunk/products/ERP5Type/patches/make_hidden_input.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 18 09:39:40 CET 2010


Author: jerome
Date: Thu Mar 18 09:39:39 2010
New Revision: 33836

URL: http://svn.erp5.org?rev=33836&view=rev
Log:
fix make_hidden_input backport, an import was missing and the function was
also present in ZTUtils module


Modified:
    erp5/trunk/products/ERP5Type/patches/make_hidden_input.py

Modified: erp5/trunk/products/ERP5Type/patches/make_hidden_input.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/make_hidden_input.py?rev=33836&r1=33835&r2=33836&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/make_hidden_input.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/make_hidden_input.py [utf8] Thu Mar 18 09:39:39 2010
@@ -20,6 +20,7 @@
 if version_txt.getZopeVersion() < (2, 9):
   import ZTUtils.Zope
   from ZTUtils.Zope import complex_marshal
+  import cgi
 
   def make_hidden_input(*args, **kwargs):
       '''Construct a set of hidden input elements, with marshalling markup.
@@ -49,4 +50,5 @@
       return '\n'.join(qlist)
 
   ZTUtils.Zope.make_hidden_input = make_hidden_input
+  ZTUtils.make_hidden_input = make_hidden_input
 




More information about the Erp5-report mailing list