update place panel ui
This commit is contained in:
parent
7d792800db
commit
408280e741
1 changed files with 0 additions and 2 deletions
|
@ -732,13 +732,11 @@ Ox.ListMap = function(options, self) {
|
||||||
self.$placeForm.values(place).show();
|
self.$placeForm.values(place).show();
|
||||||
self.$areaKmInput.options({value: Ox.formatArea(place.area)});
|
self.$areaKmInput.options({value: Ox.formatArea(place.area)});
|
||||||
self.$placeButton.options({title: isResult ? 'Add Place' : 'Remove Place'}).show();
|
self.$placeButton.options({title: isResult ? 'Add Place' : 'Remove Place'}).show();
|
||||||
self.$revertButton.options({disabled: true}).show();
|
|
||||||
} else {
|
} else {
|
||||||
self.selectedPlace = null;
|
self.selectedPlace = null;
|
||||||
self.$placeTitle.hide();
|
self.$placeTitle.hide();
|
||||||
self.$placeForm.hide();
|
self.$placeForm.hide();
|
||||||
self.$placeButton.hide();
|
self.$placeButton.hide();
|
||||||
self.$revertButton.hide();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue