Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
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
nexedi
ecommerce-ui
Commits
cd6bbf0a
Commit
cd6bbf0a
authored
Apr 25, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app: fixed wrong class assignment in pagination bar
parent
7170fd76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
js/erp5_loader.js
js/erp5_loader.js
+2
-3
No files found.
js/erp5_loader.js
View file @
cd6bbf0a
...
...
@@ -2779,12 +2779,12 @@
**/
// TODO: make this a real widget with methods!
factory
.
util
.
paginationBar
=
function
(
spec
)
{
var
n
,
option
,
props
,
option_list
,
c
lass_list
,
c
onfig
,
len
,
opts
,
pointer
;
var
n
,
option
,
props
,
option_list
,
config
,
len
,
opts
,
pointer
;
option_list
=
[{
"
value
"
:
""
,
"
text
"
:
""
,
"
text_i18n
"
:
""
}];
opts
=
spec
.
option_list
||
[];
props
=
spec
.
slot
?
{
"
slot
"
:
spec
.
slot
}
:
{};
class_list
=
spec
.
class_list
||
""
;
props
.
class_list
=
spec
.
class_list
||
""
;
for
(
n
=
0
,
len
=
opts
.
length
;
n
<
len
;
n
+=
1
)
{
option
=
opts
[
n
];
...
...
@@ -2798,7 +2798,6 @@
config
=
{
"
generate
"
:
"
widget
"
,
"
type
"
:
"
controlbar
"
,
"
class_list
"
:
class_list
,
"
property_dict
"
:
props
,
"
children
"
:
[{
"
generate
"
:
"
widget
"
,
...
...
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