From b45a750266cf705d6690e3fa91c2b478b46ebc81 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 29 May 2011 22:01:33 +0200 Subject: [PATCH] clear cache still needed --- static/js/pandora/ui/placesDialog.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index 707863ae..87c063ea 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -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);