Below is the Javascript snippet where this action must be executed.
Code: Select all
// IF NO URL, GO BACK TO INDEX
if (url == '""')
{
// leave login screen and load main app screen
//**PAVT --> Alert user of incorrect credntials.
alert("Incorrect user name or password!");
};
So I tried adding the below line:
Code: Select all
window.location.href=pui.normalizeURL("index.html");
But I get a run time error which says "file not found."
I have used another js program as reference which seems to be doing the same thing.
The code in my reference program, also in the JS folder is:
Code: Select all
window.location.href=pui.normalizeURL("DriverMain.html");
I have also tried using random things like which also doesnt work..
window.location.href=pui.normalizeURL("http://iesaccess.com:8080/profoundui/us ... _AUTH.json")
Can someone please guide how to achieve this?