fixed bug with address from a logged in user staying after logout

This commit is contained in:
Senad Uka
2015-03-28 06:05:16 +01:00
parent d8668115ed
commit b90b4035aa

View File

@@ -41,8 +41,8 @@ var loadCart = function() {
success: function() {
CartActions.dataLoaded();
}
})
if (!_deliveryDestination.get('id')) {
});
_deliveryDestination.fetch({
success: function() {
validateDeliveryDestinationForm();
@@ -50,7 +50,7 @@ var loadCart = function() {
CartActions.dataLoaded();
}
});
}
};