fix a bug with removal of places in manage places dialog

This commit is contained in:
rolux 2011-10-02 17:04:30 +00:00
parent 68f0d1117c
commit c57404149c

View file

@ -34,7 +34,7 @@ pandora.ui.placesDialog = function() {
}, },
removePlace: function(place, callback) { removePlace: function(place, callback) {
Ox.print('REMOVEPLACE', place); Ox.print('REMOVEPLACE', place);
pandora.api.removePlace(place.id, function(result) { pandora.api.removePlace(place, function(result) {
Ox.Request.clearCache(); // fixme: remove Ox.Request.clearCache(); // fixme: remove
callback(result); callback(result);
}); });