[cpp-sp COMMIT] /branches/REL_2/configs/postTemplate.html
noreply at shibboleth.net
noreply at shibboleth.net
Thu Nov 21 12:57:31 EST 2013
Author: scantor
Date: Thu Nov 21 12:57:31 2013
New Revision: 3878
URL: http://svn.shibboleth.net/view/cpp-sp?rev=3878&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-585
Modified:
branches/REL_2/configs/postTemplate.html
Modified: branches/REL_2/configs/postTemplate.html
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/configs/postTemplate.html?rev=3878&r1=3877&r2=3878&view=diff
==============================================================================
--- branches/REL_2/configs/postTemplate.html (original)
+++ branches/REL_2/configs/postTemplate.html Thu Nov 21 12:57:31 2013
@@ -6,14 +6,14 @@
function submitOnce() {
if (location.hash.length>0) {
if (confirm("Are you sure you want to resubmit this form information a second time?")) {
- document.forms[0].submit();
+ document.getElementById("shib_continue").click();
} else {
document.body.innerHTML="<html>Form information was not resubmitted.</html>";
}
} else {
var loc = window.location;
window.location = loc + "#submitted";
- document.forms[0].submit();
+ document.getElementById("shib_continue").click();
}
}
// -->
@@ -31,11 +31,7 @@
<shibmlpfor PostedData>
<input type="hidden" name="<shibmlp $name/>" value="<shibmlp $value/>"/>
</shibmlpfor>
- <noscript>
- <div>
- <input type="submit" name="_shib_continue_" value="Continue"/>
- </div>
- </noscript>
+ <input type="submit" id="shib_continue" name="_shib_continue_" value="Continue"/>
</form>
</body>
</html>
More information about the commits
mailing list