remove place
This commit is contained in:
parent
2ed6a707f5
commit
a3125e1429
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue