bugfix in map editor

This commit is contained in:
rolux 2012-09-10 14:28:12 +02:00
parent 20aeb914eb
commit 7ca44d1ada

View file

@ -836,8 +836,8 @@ Ox.MapEditor = function(options, self) {
}; };
self.$definePlaceButton.options({disabled: true, title: 'Clearing...'}); self.$definePlaceButton.options({disabled: true, title: 'Clearing...'});
self.options.editPlace(values, function() { self.options.editPlace(values, function() {
self.$list.reloadList();
self.$map.removePlace().options({selected: ''}); self.$map.removePlace().options({selected: ''});
self.$list.reloadList();
self.$findPlaceButton.show(); self.$findPlaceButton.show();
self.$placeFlag.hide(); self.$placeFlag.hide();
hideForm(); hideForm();