1
0
Fork 0
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:
rlx 2012-02-15 16:13:09 +00:00
commit 972808eb17
4 changed files with 19 additions and 16 deletions

View file

@ -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() {