summaryrefslogtreecommitdiff
path: root/ishtar_common/wizards.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/wizards.py')
-rw-r--r--ishtar_common/wizards.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py
index 475c426bb..aa5e1804d 100644
--- a/ishtar_common/wizards.py
+++ b/ishtar_common/wizards.py
@@ -1227,7 +1227,8 @@ class Wizard(IshtarWizard):
first_field = None
for key in frm.fields:
field = frm.fields[key]
- if not field.widget.input_type == "hidden":
+ if not hasattr(field.widget, "input_type") \
+ or not field.widget.input_type == "hidden":
first_field = field
break
if first_field: