diff --git a/static/js/preferencesDialog.js b/static/js/preferencesDialog.js index 25a5be5e..4d714128 100644 --- a/static/js/preferencesDialog.js +++ b/static/js/preferencesDialog.js @@ -132,7 +132,10 @@ pandora.ui.preferencesDialog = function() { .bindEvent({ change: function(data) { pandora.UI.set({locale: data.value}); - pandora.setLocale(data.value, pandora.$ui.appPanel.reload); + pandora.setLocale(data.value, function() { + $dialog.remove(); + pandora.$ui.appPanel.reload(); + }); } }) ]