pkg/provider/netiq/responses/idpLoginPass.html [27:57]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Get some values from elements on the page: var form = document.getElementById('IDPLogin'); var url = form.action; safeSetGlobalMessage("Validating credentials..."); var proofOfEndUserEnvironment= document.getElementById('runningInEndUserLoginEnvironment'); if (proofOfEndUserEnvironment) { url = updateQueryString("uiDestination", "contentDiv", url); // Send the data using post var posting = $.post( url, $("#IDPLogin" ).serialize()); // Put the results in a div posting.done(function( data ) { safeSetGlobalMessage(""); $('#theNidpContent').html(data); }); posting.fail(function() { safeSetGlobalMessage("Error communicating with the identity server"); }); } else { document.IDPLogin.submit(); } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - pkg/provider/netiq/responses/idpLoginPass.html [62:92]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // Get some values from elements on the page: var form = document.getElementById('IDPLogin'); var url = form.action; safeSetGlobalMessage("Validating credentials..."); var proofOfEndUserEnvironment= document.getElementById('runningInEndUserLoginEnvironment'); if (proofOfEndUserEnvironment) { url = updateQueryString("uiDestination", "contentDiv", url); // Send the data using post var posting = $.post( url, $("#IDPLogin" ).serialize()); // Put the results in a div posting.done(function( data ) { safeSetGlobalMessage(""); $('#theNidpContent').html(data); }); posting.fail(function() { safeSetGlobalMessage("Error communicating with the identity server"); }); } else { document.IDPLogin.submit(); } } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -