address: add check for empty value
This commit is contained in:
parent
585974945e
commit
f07dc1e6cd
@ -111,6 +111,7 @@ $(function(){
|
||||
@param {mixed} value
|
||||
**/
|
||||
value2input: function(value) {
|
||||
if(!value) return;
|
||||
this.$input.filter('[name="city"]').val(value.city);
|
||||
this.$input.filter('[name="street"]').val(value.street);
|
||||
this.$input.filter('[name="building"]').val(value.building);
|
||||
|
Loading…
x
Reference in New Issue
Block a user