had a problem / used a list of postal codes from internet / now I have two problems

This commit is contained in:
Senad Uka
2015-02-23 07:08:23 +01:00
parent 035d07d540
commit ee2a0401d0
6 changed files with 1615 additions and 89 deletions

View File

@@ -68,11 +68,11 @@ var saveCartStateForItem = function(itemId) {
CartActions.dataLoaded();
}
});
}
/*
var syncCountsWithDetails = function() {
for(i in )
}*/
};
var changeDeliveryDestinationProperty = function (property, value) {
_deliveryDestination.set(property, value);
};
@@ -154,6 +154,8 @@ AppDispatcher.register(function(payload) {
case CartConstants.SAVE_CART_STATE_FOR_ITEM:
// saveCartStateForItem(action.itemId);
break;
case CartConstants.CHANGE_DELIVERY_DESTINATION_PROPERTY:
changeDeliveryDestinationProperty(action.propety, action.value)
default:
return true;
}