Refresh jquery-ui-lookup field after settings it's value based on a map click
This commit is contained in:
parent
c07f6fdb7c
commit
3107735e32
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue