fixed bugs with address in incognito and NaN in delivery costs and total
This commit is contained in:
BIN
front-ui/.DS_Store
vendored
BIN
front-ui/.DS_Store
vendored
Binary file not shown.
BIN
front-ui/app/.DS_Store
vendored
BIN
front-ui/app/.DS_Store
vendored
Binary file not shown.
BIN
front-ui/app/components/.DS_Store
vendored
BIN
front-ui/app/components/.DS_Store
vendored
Binary file not shown.
BIN
front-ui/app/components/items/.DS_Store
vendored
BIN
front-ui/app/components/items/.DS_Store
vendored
Binary file not shown.
BIN
front-ui/app/components/shared/.DS_Store
vendored
BIN
front-ui/app/components/shared/.DS_Store
vendored
Binary file not shown.
@@ -12,7 +12,8 @@ var Place = Backbone.Model.extend({
|
||||
},
|
||||
|
||||
url: function() {
|
||||
return Globals.ApiUrl + '/place/' + this.postalCode.trim();
|
||||
var postalCode = this.postalCode || "00000";
|
||||
return Globals.ApiUrl + '/place/' + postalCode.trim();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user