"); $('.loginComplete').fadeIn(); if (redirectUrl == '' && jsRedirect != ''){ redirectUrl=jsRedirect; } //Refresh Page if (redirectUrl == ''){ window.location.reload(); } else { document.location.href = document.location.href + "?&r=1"; } } else { $(overlayControls).prop("disabled",false); $(failLabel).text("Your login or password is invalid."); } }, error: function(e, r, t) { alert("Could not contact server to log in " + e + r + t); $(failLabel).text("Could not contact server to log in."); } }); }, 250); return false; }); } DoDataBinding(overLayUserName, overLayPassword, overLayFail, overLayButton,overlayRememberMe, asyncLoadingLabel); DoDataBinding(headerUserName, headerPassword, headerFail, headerButton,headerRememberMe, asyncLoadingLabel); }); function ShowLogonWindow(r) { if (r) jsRedirect=r; $('#lboverlayPanel').modal('show'); }
Login