Fix reload loop on switching skins
parent
db5a8fe194
commit
f737af15b9
|
@ -87,7 +87,7 @@ if($tab == 'skins') {
|
||||||
if (isset($_GET['skin-choice'])) {
|
if (isset($_GET['skin-choice'])) {
|
||||||
setcookie('zmSkin',$_GET['skin-choice']);
|
setcookie('zmSkin',$_GET['skin-choice']);
|
||||||
//header("Location: index.php?view=options&tab=skins&reset_parent=1");
|
//header("Location: index.php?view=options&tab=skins&reset_parent=1");
|
||||||
echo '<script type="text/javascript">window.opener.location.reload();window.location.reload();</script>';
|
echo "<script type=\"text/javascript\">window.opener.location.reload();window.location.href=\"{$_SERVER['PHP_SELF']}?view={$view}&tab={$tab}\"</script>";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -87,7 +87,7 @@ if($tab == 'skins') {
|
||||||
if (isset($_GET['skin-choice'])) {
|
if (isset($_GET['skin-choice'])) {
|
||||||
setcookie('zmSkin',$_GET['skin-choice']);
|
setcookie('zmSkin',$_GET['skin-choice']);
|
||||||
//header("Location: index.php?view=options&tab=skins&reset_parent=1");
|
//header("Location: index.php?view=options&tab=skins&reset_parent=1");
|
||||||
echo '<script type="text/javascript">window.opener.location.reload();window.location.reload();</script>';
|
echo "<script type=\"text/javascript\">window.opener.location.reload();window.location.href=\"{$_SERVER['PHP_SELF']}?view={$view}&tab={$tab}\"</script>";
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue