diff options
| author | Alexander Pickering <Apickx@cogarr.org> | 2016-05-10 19:10:14 -0400 |
|---|---|---|
| committer | Alexander Pickering <Apickx@cogarr.org> | 2016-05-10 19:10:14 -0400 |
| commit | a1c04eb091a0ad16a25e77c522cc9a89fe01dd7d (patch) | |
| tree | d05e32916534e973b7168d9f825b68e8274f177a | |
| parent | 21f9bbfcd662f9c6e283b7b5658af01c513d9a12 (diff) | |
| parent | 1c4f04a0a7f044d5aeb2e693f7c0ca70c6f8091c (diff) | |
| download | webpage-a1c04eb091a0ad16a25e77c522cc9a89fe01dd7d.tar.gz webpage-a1c04eb091a0ad16a25e77c522cc9a89fe01dd7d.tar.bz2 webpage-a1c04eb091a0ad16a25e77c522cc9a89fe01dd7d.zip | |
Merge branch 'development'
| -rw-r--r-- | ws2a/bugview.html | 6 | ||||
| -rw-r--r-- | ws2a/bugview.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ws2a/bugview.html b/ws2a/bugview.html index 9653a63..786df6c 100644 --- a/ws2a/bugview.html +++ b/ws2a/bugview.html @@ -73,12 +73,12 @@ <form class="form-signin" action="/cgi-bin/bugcomment.cgi"> <h2 class="form-signin-heading">Leave a comment</h2> <label for="inputName" class="sr-only">Name</label> - <input id="inputName" class="form-control" placeholder="Screen Name" required="" autofocus="" type="text"> + <input id="inputName" name="name" class="form-control" placeholder="Screen Name" required="" autofocus="" type="text"> <label for="inputID" class="sr-only">Identifier</label> - <input id="inputID" class="form-control" placeholder="Identifier" required="" type="password"> + <input id="inputID" name="id" class="form-control" placeholder="Identifier" required="" type="password"> <textarea name="comment" rows="5" cols="50"></textarea> <div id="captcha"></div> - <input id="solvecaptcha" class="form-control" placeholder="captcha" type="text"> + <input id="solvecaptcha" name="captcha" class="form-control" placeholder="captcha" type="text"> <button class="btn btn-lg btn-primary btn-block" type="Post">Post</button> </form> </div> diff --git a/ws2a/bugview.js b/ws2a/bugview.js index f1896ff..3d695d6 100644 --- a/ws2a/bugview.js +++ b/ws2a/bugview.js @@ -75,7 +75,7 @@ function loadLastBugs() { captcha.onreadystatechange = function() { if (captcha.readyState == 4 && captcha.status == 200) { var id = captcha.response; - document.getElementById("captcha").innerHTML = "<img src=\"./captchas/" + id + ".png\">"; + document.getElementById("captcha").innerHTML = "<img src=\"./captchas/" + id + ".png\"><input type=\"hidden\" name=\"bugid\" value=\"" + bugnum + ">"; } } captcha.open("GET", "/cgi-bin/gencaptcha.cgi",true); |
