check authentication on page which doesn't reload (#14573)

This commit is contained in:
Serghei Mihai 2017-02-07 10:15:13 +01:00
parent eee5c87346
commit 6ce1c13e66
1 changed files with 4 additions and 0 deletions

View File

@ -147,4 +147,8 @@ page.open(input.address, function(status) {
else
$(input.form_submit_element).click();
}, input);
if (page.injectJs(input.auth_checker)) {
timer = setInterval(check_auth, 100, page);
}
});