1
0
Fork 0
forked from 0x2620/oxjs

fixing dateline bugs

This commit is contained in:
rlx 2011-03-05 04:22:22 +00:00
commit b7e236f056
3 changed files with 82 additions and 421 deletions

View file

@ -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,