Add type attribute to button elements

This commit is contained in:
Carsten Grohmann 2021-10-23 14:43:49 +02:00
parent 5b9a4712e2
commit 6d13cf0446

View File

@ -279,12 +279,12 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
<input accept=".txt,.log" onchange="read_and_display_file(this.files[0])" type="file"> <input accept=".txt,.log" onchange="read_and_display_file(this.files[0])" type="file">
</div> </div>
<br/> <br/>
<button onclick="OOMAnalyser.OOMDisplayInstance.analyse_and_show()" title="Analyse the OOM from the input area and show it">Analyse<br>OOM block</button> <button onclick="OOMAnalyser.OOMDisplayInstance.analyse_and_show()" title="Analyse the OOM from the input area and show it" type="button">Analyse<br>OOM block</button>
<button onclick="OOMAnalyser.OOMDisplayInstance.reset_form()" title="Clean the input area">Reset<br>form</button> <button onclick="OOMAnalyser.OOMDisplayInstance.reset_form()" title="Clean the input area" type="reset">Reset<br>form</button>
<button onclick="OOMAnalyser.OOMDisplayInstance.copy_example_rhel7_to_form()" title="Copy an example OOM from RHEL7 (kernel 3.10) w/ swap into the input area"> <button onclick="OOMAnalyser.OOMDisplayInstance.copy_example_rhel7_to_form()" title="Copy an example OOM from RHEL7 (kernel 3.10) w/ swap into the input area" type="button">
Insert RHEL7 example<br>Kernel 3.10, swap enabled Insert RHEL7 example<br>Kernel 3.10, swap enabled
</button> </button>
<button onclick="OOMAnalyser.OOMDisplayInstance.copy_example_ubuntu_to_form()" title="Copy an example OOM from Ubuntu 21.10 (kernel 5.13) w/o swap into the input area"> <button onclick="OOMAnalyser.OOMDisplayInstance.copy_example_ubuntu_to_form()" title="Copy an example OOM from Ubuntu 21.10 (kernel 5.13) w/o swap into the input area" type="button">
Insert Ubuntu 21.10 example<br>Kernel 5.13, swap disabled Insert Ubuntu 21.10 example<br>Kernel 5.13, swap disabled
</button> </button>
</div> </div>