From aa22125d5308fb5c623e1c725b93ce841474aaf3 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 707863a..87c063e 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);