Commit e947b9d0 by Tuukka Kivilahti

index

1 parent 9e4535ec
...@@ -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);
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!