/web/intercept.php |
---|
499,15 → 499,17 |
} |
if (typeof url !== 'undefined') { |
var win = window.open(url, '_blank'); |
if (win !== null) { |
win.focus(); |
} |
} |
var win = window.open('<?= $statuspath ?>', '_blank'); |
// Redirect to status page |
if (win === null) { // Pop-up blocked |
window.location = '<?= $statuspath ?>'; |
} else { |
window.location = url; |
} |
} else { |
window.location = '<?= $statuspath ?>'; |
} |
} |
if ((result === 2) || (result === 3) || result === 5) { //failed or logoff or notyet |
document.form1.UserName.focus(); |
} |