Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
2d4390ea
Commit
2d4390ea
authored
Mar 27, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ListBox: pass field being rendered to row_css_class script
parent
9c4d11dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
product/ERP5Form/ListBox.py
product/ERP5Form/ListBox.py
+6
-5
No files found.
product/ERP5Form/ListBox.py
View file @
2d4390ea
...
@@ -2058,11 +2058,12 @@ class ListBoxRenderer:
...
@@ -2058,11 +2058,12 @@ class ListBoxRenderer:
else
:
else
:
index
=
i
index
=
i
#LOG('ListBox', 0, 'current_section.__dict__ = %r' % (current_section.__dict__,))
#LOG('ListBox', 0, 'current_section.__dict__ = %r' % (current_section.__dict__,))
new_param_dict
=
param_dict
.
copy
()
row_css_class_name
=
self
.
getRowCSSClassName
(
new_param_dict
[
'brain'
]
=
current_section
.
object_list
[
offset
]
brain
=
current_section
.
object_list
[
offset
],
new_param_dict
[
'list_index'
]
=
index
field
=
self
.
field
,
new_param_dict
[
'total_size'
]
=
self
.
total_size
list_index
=
index
,
row_css_class_name
=
self
.
getRowCSSClassName
(
**
new_param_dict
)
total_size
=
self
.
total_size
,
**
param_dict
)
line
=
line_class
(
renderer
=
self
,
line
=
line_class
(
renderer
=
self
,
obj
=
current_section
.
object_list
[
offset
],
obj
=
current_section
.
object_list
[
offset
],
index
=
index
,
index
=
index
,
...
...
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