forked from 0x2620/pandora
clear cache still needed
This commit is contained in:
parent
7bb0d17f48
commit
b45a750266
1 changed files with 5 additions and 1 deletions
|
@ -22,7 +22,11 @@ pandora.ui.placesDialog = function() {
|
|||
},
|
||||
addPlace: function(data, callback) {
|
||||
Ox.print('ADDPLACE', data);
|
||||
pandora.api.addPlace(data.place, callback);
|
||||
pandora.api.addPlace(data.place, function(result) {
|
||||
Ox.Request.clearCache(); // fixme: remove
|
||||
callback(result);
|
||||
});
|
||||
|
||||
},
|
||||
editPlace: function(data, callback) {
|
||||
Ox.print('EDITPLACE', data);
|
||||
|
|
Loading…
Reference in a new issue