diff --git a/lib/front/front.class.php b/lib/front/front.class.php index 20e804683c..e704037363 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -703,7 +703,7 @@ EOT; static public function reload($window = 'self') { $js = self::start(); - $js .= "$window.location.reload()"; + $js .= "$window.location.href=$window.location.href"; $js .= self::end(); return $js; } diff --git a/www/js/my.js b/www/js/my.js index d6038eb792..da742c8004 100644 --- a/www/js/my.js +++ b/www/js/my.js @@ -354,7 +354,7 @@ function toggleHelpLink() function selectLang(lang) { $.cookie('lang', lang, {expires:config.cookieLife, path:config.webRoot}); - location.reload(); + location.href = location.href; } /** @@ -366,7 +366,7 @@ function selectLang(lang) function selectTheme(theme) { $.cookie('theme', theme, {expires:config.cookieLife, path:config.webRoot}); - location.reload(); + location.href = location.href; } /**