saimod todo add autofocus, sai reload problem on login-timeout fixed

This commit is contained in:
Ulf Gebhardt 2015-04-06 06:21:44 +02:00
parent e3849f9a2e
commit bab21887c3
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ function register_newform(){
}
});
})
$('#input_message').focus();
}
function load_todo_tab(action){

View File

@ -22,7 +22,7 @@ class saigui extends \SYSTEM\PAGE\Page {
\call_user_func(array($classname, 'right_right')))){
return \SYSTEM\API\api::run('\SYSTEM\API\verify', $classname , $pg, 42, true, false);
} else {
return '<meta http-equiv="refresh" content="5">You are no longer logged in. Page reload in 5sec...';}
return '<meta http-equiv="refresh" content="0; url=./sai.php">You are no longer logged in. Page reload in 5sec...';}
} else {
return \SYSTEM\API\api::run('\SYSTEM\API\verify', '\SYSTEM\SAI\SaiModule', $pg, 42, false, true);}
}