address: add check for empty value
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 vitalets
					vitalets