This commit is contained in:
rolux 2011-06-01 16:34:26 +02:00
parent d7b755e31b
commit 21110a5242
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ Ox.ListMap = function(options, self) {
*/
changeplace: function(data) {
self.$placeForm.values(data).show();
self.$areaKmInput.options({value: Ox.formatArea(place.area)});
self.$areaKmInput.options({value: Ox.formatArea(data.area)});
},
changeplaceend: function(data) {
//Ox.print('ssP', self.selectedPlace);

View file

@ -153,7 +153,7 @@ Ox.MapPlace = function(options) {
that.options = function(options) {
options = Ox.makeObject(arguments);
Ox.forEach(options, function(value, key) {
that.key = value;
that[key] = value;
});
Ox.print('map place options', that)
update(true);