remove place

This commit is contained in:
j 2011-06-20 18:15:15 +02:00
parent 2ed6a707f5
commit a3125e1429

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, function(result) { pandora.api.removePlace(place.id, function(result) {
Ox.Request.clearCache(); // fixme: remove Ox.Request.clearCache(); // fixme: remove
callback(result); callback(result);
}); });