fix for delivery destination not validating
This commit is contained in:
@@ -39,18 +39,19 @@ var loadCart = function() {
|
|||||||
_itemsForDisplay.fetch({
|
_itemsForDisplay.fetch({
|
||||||
success: function() {
|
success: function() {
|
||||||
CartActions.dataLoaded();
|
CartActions.dataLoaded();
|
||||||
|
|
||||||
|
_deliveryDestination.fetch({
|
||||||
|
success: function() {
|
||||||
|
validateDeliveryDestinationForm();
|
||||||
|
fetchPlace();
|
||||||
|
CartActions.dataLoaded();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
//_deliveryDestination.fetch({
|
|
||||||
//success: function() {
|
|
||||||
//validateDeliveryDestinationForm();
|
|
||||||
//fetchPlace();
|
|
||||||
//CartActions.dataLoaded();
|
|
||||||
//}
|
|
||||||
//});
|
|
||||||
_cartDataLoadCalled = true;
|
_cartDataLoadCalled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user