fixed bugs with address in incognito and NaN in delivery costs and total
This commit is contained in:
@@ -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