10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 13:53:48 +01:00

Add type="button" to SelectAll buttons to fix a bug caused by the defailt type="submit" value

This commit is contained in:
Mickaël Véril 2020-01-28 11:28:10 +01:00
parent bc297ae40d
commit f1d04d4f29

View File

@ -438,23 +438,23 @@ draft: false
<fieldset class="table"> <fieldset class="table">
<div style="display: inline-block;"> <div style="display: inline-block;">
<label for="DOI_select">Sets</label> <label for="DOI_select">Sets</label>
<button class="SelectAll" onclick="selectSelectAll_click(event)">Select all</button> <button class="SelectAll" type="button" onclick="selectSelectAll_click(event)">Select all</button>
<select multiple id="DOI_select" name="DOI"></select> <select multiple id="DOI_select" name="DOI"></select>
</div> </div>
<div style="display:inline-block"> <div style="display:inline-block">
<label for="mol_select">Molecules</label> <label for="mol_select">Molecules</label>
<button class="SelectAll" onclick="selectSelectAll_click(event)">Select all</button> <button class="SelectAll" type="button" onclick="selectSelectAll_click(event)">Select all</button>
<select multiple id="mol_select" name="molecule"></select> <select multiple id="mol_select" name="molecule"></select>
</div> </div>
<br /> <br />
<div style="display: inline-block;"> <div style="display: inline-block;">
<label for="method_select">Methods</label> <label for="method_select">Methods</label>
<button class="SelectAll" onclick="selectSelectAll_click(event)">Select all</button> <button class="SelectAll" type="button" onclick="selectSelectAll_click(event)">Select all</button>
<select multiple id="method_select" name="method"></select> <select multiple id="method_select" name="method"></select>
</div> </div>
<div style="display: inline-block;"> <div style="display: inline-block;">
<label for="basis_select">Basis sets</label> <label for="basis_select">Basis sets</label>
<button class="SelectAll" onclick="selectSelectAll_click(event)">Select all</button> <button class="SelectAll" type="button" onclick="selectSelectAll_click(event)">Select all</button>
<select multiple id="basis_select" name="basis"></select> <select multiple id="basis_select" name="basis"></select>
</div> </div>
</fieldset> </fieldset>