Commit c58dfe13 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! Allow formbox_target_id to be None or empty string.

From the "git-push-should-be-slower" department.
parent a804212e
...@@ -94,6 +94,7 @@ class FormBoxWidget(Widget.Widget): ...@@ -94,6 +94,7 @@ class FormBoxWidget(Widget.Widget):
# using 'cell' parameter. # using 'cell' parameter.
if not REQUEST.has_key('cell'): if not REQUEST.has_key('cell'):
REQUEST.set('cell', here) REQUEST.set('cell', here)
result = ''
target_id = field.get_value('formbox_target_id') target_id = field.get_value('formbox_target_id')
if target_id not in (None, ''): if target_id not in (None, ''):
try: try:
......
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