Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
c58dfe13
Commit
c58dfe13
authored
Jul 21, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Allow formbox_target_id to be None or empty string.
From the "git-push-should-be-slower" department.
parent
a804212e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
product/ERP5Form/FormBox.py
product/ERP5Form/FormBox.py
+1
-0
No files found.
product/ERP5Form/FormBox.py
View file @
c58dfe13
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment