Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
erp5
Commits
09df9d9f
Commit
09df9d9f
authored
Nov 27, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no need to call edit in listbox item if no column is editable.
parent
1cdf4164
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
...ore/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
+5
-4
product/ERP5/bootstrap/erp5_core/bt/revision
product/ERP5/bootstrap/erp5_core/bt/revision
+1
-1
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_edit.xml
View file @
09df9d9f
...
@@ -121,10 +121,11 @@ def editListBox(listbox_field, listbox):\n
...
@@ -121,10 +121,11 @@ def editListBox(listbox_field, listbox):\n
for key, value in cleaned_v.items():\n
for key, value in cleaned_v.items():\n
if value == \'\':\n
if value == \'\':\n
cleaned_v[key] = None\n
cleaned_v[key] = None\n
if listbox_edit is None:\n
if cleaned_v:\n
context.restrictedTraverse(url).edit(edit_order=edit_order, **cleaned_v)\n
if listbox_edit is None:\n
else:\n
context.restrictedTraverse(url).edit(edit_order=edit_order, **cleaned_v)\n
listbox_edit(url, edit_order, cleaned_v)\n
else:\n
listbox_edit(url, edit_order, cleaned_v)\n
\n
\n
def editMatrixBox(matrixbox_field, matrixbox):\n
def editMatrixBox(matrixbox_field, matrixbox):\n
""" Function called to edit a Matrix box\n
""" Function called to edit a Matrix box\n
...
...
product/ERP5/bootstrap/erp5_core/bt/revision
View file @
09df9d9f
41052
41053
\ No newline at end of file
\ No newline at end of file
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