summary: Remove reset button
This has been broken for years. I don't object to fixing it, it's just that I have better things to do right now and we've gotten complaints about it; no use in keeping around something that's broken if there's no desire to fix it. Workaround: refresh the page. This does keep around the reset logic because it is actually used in other places. * src/current/include/entry-form.xsl (entry-form)[lv:package]: Remove reset button. * src/current/include/entry-form.js (clearTestCases): Remove broken function call `Prior.setPriorMessage(null)'.master
parent
bcd8a67bd9
commit
219a4b521a
|
@ -57,7 +57,6 @@
|
|||
|
||||
<div>
|
||||
<input type="submit" value="Calculate Premium" />
|
||||
<input type="reset" value="Reset" />
|
||||
</div>
|
||||
|
||||
<div class="final-premium"></div>
|
||||
|
|
|
@ -167,9 +167,6 @@ var client = ( function()
|
|||
save_id = '';
|
||||
prior_result = undefined;
|
||||
|
||||
// clear prior message
|
||||
Prior.setPriorMessage( null );
|
||||
|
||||
// clear prior class from body
|
||||
document.body.className = document.body.className.replace(
|
||||
/\bprior\b/, ''
|
||||
|
|
Loading…
Reference in New Issue