cities example: fix place deselect (data is now null, not {})
This commit is contained in:
parent
cbc888584d
commit
4138e4e558
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ Ox.load({UI: {showScreen: true}, Geo: {}}, function() {
|
|||
will cause a deselect, which is what we want here.)
|
||||
*/
|
||||
select: function(data) {
|
||||
$list.options({selected: data.id ? [data.id] : []});
|
||||
$list.options({selected: data ? [data.id] : []});
|
||||
}
|
||||
}),
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue