Commit 6cbd0a76 authored by Jérome Perrin's avatar Jérome Perrin

fix make_hidden_input backport, an import was missing and the function was

also present in ZTUtils module



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33836 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d67607cf
...@@ -20,6 +20,7 @@ from App import version_txt ...@@ -20,6 +20,7 @@ from App import version_txt
if version_txt.getZopeVersion() < (2, 9): if version_txt.getZopeVersion() < (2, 9):
import ZTUtils.Zope import ZTUtils.Zope
from ZTUtils.Zope import complex_marshal from ZTUtils.Zope import complex_marshal
import cgi
def make_hidden_input(*args, **kwargs): def make_hidden_input(*args, **kwargs):
'''Construct a set of hidden input elements, with marshalling markup. '''Construct a set of hidden input elements, with marshalling markup.
...@@ -49,4 +50,5 @@ if version_txt.getZopeVersion() < (2, 9): ...@@ -49,4 +50,5 @@ if version_txt.getZopeVersion() < (2, 9):
return '\n'.join(qlist) return '\n'.join(qlist)
ZTUtils.Zope.make_hidden_input = make_hidden_input ZTUtils.Zope.make_hidden_input = make_hidden_input
ZTUtils.make_hidden_input = make_hidden_input
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment