Bug #1192
closedError message for unauthorized user does not close </a> and buttons cannot be used
0%
Description
The page referenced above, if logged in as uncertified user, results in a page
that has the hyperlink engulfing the buttons on the page. The button thus don't
work, as pressing them sends you to the hyperlink location. We just need to
close the <a> element before ending the token that presumably uses the generic
form. I suppose we could cheat and alter the generic form to throw in a </a>
before the buttons to end any extant hyperlinks if this is too burdensome. If
the </a> was extra, it would just get ignored.
View source:
...
<!-- POST THE MESSAGES HERE --> <span class="category"> INVALID PERMISSIONS
ERROR </span> <br> <br> <span class="item"> User: mikelee@unc.edu Does Not Have
Permission to Load Data To Vegbank <br> In order to attain this privilege,
please fill out the certification form at: <a
href="/vegbank/forms/certification.html">Certification Form</span> <br> <br>
<form><input type="button" value="Click here to go back"
onClick="history.back()" /><input type="button" value="Click here for the
VegBank Main Menu"
onClick='window.location="/vegbank/servlet/usermanagement?action=options"'/></form><!--
VEGBANK FOOTER -->
...
Updated by P. Anderson about 21 years ago
That was a fun one. Good catch, Michael.