Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e947b9d0
authored
Feb 02, 2018
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index
1 parent
9e4535ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
code/moya-web/src/main/java/fi/codecrew/moya/web/cdiview/shop/ProductShopView.java
code/moya-web/src/main/java/fi/codecrew/moya/web/cdiview/shop/ProductShopView.java
View file @
e947b9d
...
@@ -274,7 +274,10 @@ public class ProductShopView extends GenericCDIView {
...
@@ -274,7 +274,10 @@ public class ProductShopView extends GenericCDIView {
//Update product dependencies last...
//Update product dependencies last...
for
(
ProductShopItem
n
:
shoppingcart
)
{
for
(
ProductShopItem
n
:
shoppingcart
)
{
// updateProductDependencies will loop throught shoppingcard, and ruin our index. Store it.
int
index
=
shoppingcart
.
getRowIndex
();
n
.
updateProductDependencies
(
shoppingcart
);
n
.
updateProductDependencies
(
shoppingcart
);
shoppingcart
.
setRowIndex
(
index
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment