diff --git a/pandora_console/general/login_required.php b/pandora_console/general/login_required.php index 1535829991..b0fe076eda 100644 --- a/pandora_console/general/login_required.php +++ b/pandora_console/general/login_required.php @@ -195,8 +195,9 @@ $("#language").click(function () { {"page": "general/login_required", "change_language": change_language}, function (data) {} - ); - location.reload(); + ).done(function () { + location.reload(); + }); }); ////////////////////////////////////////////////////////////////////////