forked from 0x2620/oxjs
add tooltips to map place info; fix a bug with autocomplete and live updates (fixes #453)
This commit is contained in:
parent
96db09337c
commit
972808eb17
4 changed files with 19 additions and 16 deletions
|
|
@ -897,9 +897,9 @@ Ox.ListMap = function(options, self) {
|
|||
|
||||
function removeItem(data) {
|
||||
var id = data.ids[0];
|
||||
// fixme: events or callback functions??
|
||||
self.$list.value(id, 'type') && self.$map.removePlace(id);
|
||||
// FIXME: events or callback functions??
|
||||
that.triggerEvent('removeplace', {id: id});
|
||||
self.$map.removePlace(id);
|
||||
}
|
||||
|
||||
function removePlace() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue