* revert to the prev version.

This commit is contained in:
wangchunsheng
2011-03-13 06:26:23 +00:00
parent 93bf32103a
commit 27a94efe3d
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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;
}
/**