* revert to the prev version.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user