From a3125e1429529c2471c991873bdcf5e97c8eac12 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 20 Jun 2011 18:15:15 +0200 Subject: [PATCH] remove place --- static/js/pandora/ui/placesDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/ui/placesDialog.js b/static/js/pandora/ui/placesDialog.js index b955725f..03d379b4 100644 --- a/static/js/pandora/ui/placesDialog.js +++ b/static/js/pandora/ui/placesDialog.js @@ -34,7 +34,7 @@ pandora.ui.placesDialog = function() { }, removePlace: function(place, callback) { Ox.print('REMOVEPLACE', place); - pandora.api.removePlace(place, function(result) { + pandora.api.removePlace(place.id, function(result) { Ox.Request.clearCache(); // fixme: remove callback(result); });