From d7b755e31bcb612aeec986d5b4ae0246c3d18512 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 1 Jun 2011 16:32:19 +0200 Subject: [PATCH] debugging... --- source/Ox.UI/js/Map/Ox.ListMap.js | 1 + source/Ox.UI/js/Map/Ox.MapPlace.js | 1 + 2 files changed, 2 insertions(+) diff --git a/source/Ox.UI/js/Map/Ox.ListMap.js b/source/Ox.UI/js/Map/Ox.ListMap.js index 7e0b4132..775a3b4b 100644 --- a/source/Ox.UI/js/Map/Ox.ListMap.js +++ b/source/Ox.UI/js/Map/Ox.ListMap.js @@ -305,6 +305,7 @@ Ox.ListMap = function(options, self) { */ changeplace: function(data) { self.$placeForm.values(data).show(); + self.$areaKmInput.options({value: Ox.formatArea(place.area)}); }, changeplaceend: function(data) { //Ox.print('ssP', self.selectedPlace); diff --git a/source/Ox.UI/js/Map/Ox.MapPlace.js b/source/Ox.UI/js/Map/Ox.MapPlace.js index 331a9a74..e2a39135 100644 --- a/source/Ox.UI/js/Map/Ox.MapPlace.js +++ b/source/Ox.UI/js/Map/Ox.MapPlace.js @@ -155,6 +155,7 @@ Ox.MapPlace = function(options) { Ox.forEach(options, function(value, key) { that.key = value; }); + Ox.print('map place options', that) update(true); };