fixed bug with address from a logged in user staying after logout
This commit is contained in:
@@ -41,8 +41,8 @@ var loadCart = function() {
|
|||||||
success: function() {
|
success: function() {
|
||||||
CartActions.dataLoaded();
|
CartActions.dataLoaded();
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
if (!_deliveryDestination.get('id')) {
|
|
||||||
_deliveryDestination.fetch({
|
_deliveryDestination.fetch({
|
||||||
success: function() {
|
success: function() {
|
||||||
validateDeliveryDestinationForm();
|
validateDeliveryDestinationForm();
|
||||||
@@ -50,7 +50,7 @@ var loadCart = function() {
|
|||||||
CartActions.dataLoaded();
|
CartActions.dataLoaded();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user