make it show password dialog on wrong password
parent
4843840d72
commit
d09894ce77
|
@ -315,6 +315,7 @@ function handshake()
|
|||
{
|
||||
$('#loading').hide();
|
||||
$('#wrongPassword').show();
|
||||
$('#passwordRequired').show();
|
||||
$("#passwordinput").focus();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,7 +52,17 @@ function createCookie(name, value, days, path)
|
|||
if(!path)
|
||||
path = "/";
|
||||
|
||||
document.cookie = name + "=" + value + expires + "; path=" + path;
|
||||
if(!path)
|
||||
path = "/";
|
||||
|
||||
//Check if the browser is IE and if so make sure the full path is set in the cookie
|
||||
if(navigator.appName=='Microsoft Internet Explorer'){
|
||||
document.cookie = name + "=" + value + expires + "; path="+document.location;
|
||||
}
|
||||
else{
|
||||
document.cookie = name + "=" + value + expires + "; path=" + path;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function readCookie(name)
|
||||
|
|
Loading…
Reference in New Issue