forked from 0x2620/oxjs
fixing dateline bugs
This commit is contained in:
parent
3605ae1afb
commit
b7e236f056
3 changed files with 82 additions and 421 deletions
|
|
@ -42,11 +42,12 @@ $(function() {
|
|||
})
|
||||
.bindEvent({
|
||||
selectplace: function(event, data) {
|
||||
Ox.print('DATA', data)
|
||||
panel.replaceElement(1, list = new Ox.TreeList({
|
||||
data: {
|
||||
data: Ox.isEmpty(data) ? [] : {
|
||||
components: data.components,
|
||||
countryCode: data.countryCode,
|
||||
crossesDateline: data.crossesDateline,
|
||||
crossesDateline: data.crossesDateline(),
|
||||
east: data.east,
|
||||
fullGeoname: data.fullGeoname,
|
||||
geoname: data.geoname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue