remove place
This commit is contained in:
parent
0054563b0c
commit
44ba98af93
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