clear cache still needed

This commit is contained in:
j 2011-05-29 22:01:33 +02:00
parent f31a6cfdc7
commit aa22125d53

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