From c57404149c990730c20a30e4e06ca9212d5548df Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 2 Oct 2011 17:04:30 +0000 Subject: [PATCH] fix a bug with removal of places in manage places dialog --- 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 4d5a5673..2743437b 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.id, function(result) { + pandora.api.removePlace(place, function(result) { Ox.Request.clearCache(); // fixme: remove callback(result); });