Reset datas['form'] only for form view

This commit is contained in:
Cédric Krier committed 2008-07-30 12:51:16 +02:00
1 parent 16fdec4297
commit 47effd0242
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ class Wizard(object):
if 'datas' in res:
datas['form'] = res['datas']
else:
elif res['type'] == 'form':
datas['form'] = {}
if res['type'] == 'form':
if not dia: