Refresh jquery-ui-lookup field after settings it's value based on a map click

This commit is contained in:
Michael Hall 2018-02-24 10:28:10 -05:00
parent c07f6fdb7c
commit 3107735e32

View file

@ -81,6 +81,7 @@
var selectField = $("#city_select");
selectField.empty();
selectField.append('<option value="'+ json.id +'" selected>'+ json.display + '</option>');
selectField.lookup("refresh");
$("#id_tz").val(json.tz)
}