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
54ed3ab3
Commit
54ed3ab3
authored
Jul 31, 2013
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
General: cleanup
parent
23936633
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
modules/ui/item/item.js
modules/ui/item/item.js
+0
-1
modules/ui/items/items.js
modules/ui/items/items.js
+1
-1
modules/ui/pagination/pagination.js
modules/ui/pagination/pagination.js
+0
-2
No files found.
modules/ui/item/item.js
View file @
54ed3ab3
...
...
@@ -163,7 +163,6 @@ define([
};
if
(
urlPointer
)
{
// query for items
App
[
module
].
switchboard
(
spec
);
}
}
...
...
modules/ui/items/items.js
View file @
54ed3ab3
...
...
@@ -61,7 +61,7 @@ define([
// generate results
for
(
i
=
0
;
i
<
response
.
total_rows
;
i
+=
1
)
{
item
=
response
.
rows
[
i
].
value
;
console
.
log
(
item
);
if
(
item
.
price
===
item
.
original_price
)
{
price
=
item
.
price
+
item
.
currency
;
}
else
{
...
...
modules/ui/pagination/pagination.js
View file @
54ed3ab3
...
...
@@ -71,7 +71,6 @@ define([
if
(
err
)
{
}
else
{
console
.
log
(
response
);
// set next
// TODO: this is bad, because we can only point to doc_id, no matter what
// identifier we are setting. item_id itself is... bad... fix!
...
...
@@ -81,7 +80,6 @@ define([
markup
=
params
.
source
.
replace
(
"
translate next
"
,
"
translate next ui-state-disabled
"
);
}
else
{
markup
=
params
.
source
.
replace
(
identifier
+
"
=next
"
,
identifier
+
"
=
"
+
next
);
console
.
log
(
markup
)
}
// set previous
prev
=
priv
.
getPrevNextItem
(
response
.
rows
,
currentId
,
false
,
response
.
total_rows
);
...
...
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