cart now functional without bugs (at least the ones we know about)

fixed a small issue with ItemGroup REST call
This commit is contained in:
Edin Dazdarevic
2015-05-27 13:58:44 +02:00
parent 2ddfcf2141
commit b5fdc6d173
6 changed files with 72 additions and 25 deletions

View File

@@ -49,6 +49,13 @@ var CartActions = {
actionType: CartConstants.TAKE_ITEM_OUT,
itemId: id
});
},
setItemCount: function(itemId, count) {
AppDispatcher.handleAction({
actionType: CartConstants.SET_ITEM_COUNT,
itemId: itemId,
count: count
});
}
};