forked from 0x2620/oxjs
allow for editing s/w/n/e/ values manually
This commit is contained in:
parent
df27e28c5e
commit
66c8347a2a
4 changed files with 11 additions and 4 deletions
|
|
@ -458,7 +458,7 @@ Ox.ListMap = function(options, self) {
|
|||
max = ['Latitude', 'South', 'North'].indexOf(v) > -1 ? Ox.MAX_LATITUDE : 180;
|
||||
return Ox.Input({
|
||||
decimals: 8,
|
||||
//disabled: true, // ['Latitude', 'Longitude'].indexOf(v) > -1,
|
||||
disabled: ['lat', 'lng'].indexOf(id) > -1,
|
||||
id: id,
|
||||
label: v,
|
||||
labelWidth: 80,
|
||||
|
|
@ -468,7 +468,7 @@ Ox.ListMap = function(options, self) {
|
|||
width: 240
|
||||
})
|
||||
.bindEvent({
|
||||
change: function(data) {
|
||||
blur: function(data) {
|
||||
///*
|
||||
var isResult = self.selectedPlace[0] == '_';
|
||||
if (!self.isAsync) {
|
||||
|
|
@ -476,7 +476,7 @@ Ox.ListMap = function(options, self) {
|
|||
} else {
|
||||
!isResult && editPlace([v])
|
||||
}
|
||||
self.$map.value(self.selectedPlace, v, data.value);
|
||||
self.$map.value(self.selectedPlace, id, data.value);
|
||||
//*/
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue