clear cache still needed

This commit is contained in:
j 2011-05-29 22:01:33 +02:00
parent 7bb0d17f48
commit b45a750266

View file

@ -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);