Hi Serigy,
Yes I have read that post, but can you please provide a little more information.
I don't think the issue is on the current page (the password recovery page like in your tutorial) as when I change the script to: Apperyio.navigateTo('startScreen', {reloadPage: false});
I do not get the error when the startScreen loads. It seems to be specific to my LoginScreen.
On the LoginScreen I have the following JS on load (this script checks if the user has checked the stay logged in, and if so go straight to the startscreen):
//Stay logged in
var StayLoggedIn = localStorage.getItem("StayLoggedIn");
console.log(StayLoggedIn);
if ( StayLoggedIn=='true') {
Code: Select all
Apperyio('mobilecontainer').css('background-image',
'url("[url=http://www.xxxxxx.com/App_Files/DSxxxxxx.JPG]http://www.xxxxxx.com/App_Files/DSxxx...[/url]")');
var login = localStorage.getItem("UserName");
var pass = localStorage.getItem("Password");
AutoLogin.execute({data: {username: login, password: pass} });
} else {
$("[dsid = CheckBox] label").css("background-color","transparent");
$("[dsid = CheckBox] label").css("border","transparent");
$("[dsid = CheckBox] label").css("border","transparent");
Code: Select all
Apperyio('mobilecontainer').css('background-image',
'url("[url=http://www.xxxxxxx.com/App_Files/DSxxxxxx.JPG]http://www.xxxxxxx.com/App_Files/DSxx...[/url]")');
Apperyio('mobilecontainer').css('background-repeat','no-repeat');
Apperyio('mobilecontainer').css('background-size','cover');
Appery("LoginBtn").css("background-image","linear-gradient(#00FF00, #00FF00)");
Appery("LoggedInBtn").css("background-image","linear-gradient(#00FF00, #00FF00)");
Code: Select all
Appery("loginInput").show();
Appery("passwordInput").show();
Appery("LoginBtn").show();
Appery("CheckBox").show();
Appery("ForgotPasswordBtn").show();
Appery("CheckBox").show();
Appery("RegisterBtn").show();
thoughts?
Thanks
James