10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +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">
<div style="display: inline-block;">
<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>
</div>
<div style="display:inline-block">
<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>
</div>
<br />
<div style="display: inline-block;">
<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>
</div>
<div style="display: inline-block;">
<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>
</div>
</fieldset>