[Web] Fix goto check for alias
[Web] Minor change
This commit is contained in:
parent
59c4cc054e
commit
241c6f0411
@ -23,7 +23,7 @@ function setLang(sel) {
|
|||||||
$.post( "<?= $_SERVER['REQUEST_URI']; ?>", {lang: sel} );
|
$.post( "<?= $_SERVER['REQUEST_URI']; ?>", {lang: sel} );
|
||||||
window.location.href = window.location.pathname + window.location.search;
|
window.location.href = window.location.pathname + window.location.search;
|
||||||
}
|
}
|
||||||
$(window).load(function() {
|
$(window).on('load', function() {
|
||||||
$(".overlay").hide();
|
$(".overlay").hide();
|
||||||
});
|
});
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
@ -484,7 +484,7 @@ function mailbox($_action, $_type, $_data = null, $attr = null) {
|
|||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (empty($gotos[0]) && $goto_null == 0) {
|
if (empty($gotos[0]) && ($goto_null + $goto_spam + $goto_ham == 0)) {
|
||||||
$_SESSION['return'] = array(
|
$_SESSION['return'] = array(
|
||||||
'type' => 'danger',
|
'type' => 'danger',
|
||||||
'msg' => sprintf($lang['danger']['goto_empty'])
|
'msg' => sprintf($lang['danger']['goto_empty'])
|
||||||
|
Loading…
Reference in New Issue
Block a user