Don't regenerate all fields if we just need the one - find by select

This commit is contained in:
Rob L
2016-07-25 12:52:06 -04:00
parent e9b0b7b55a
commit 2bc5c8b990
2 changed files with 27 additions and 22 deletions

View File

@ -123,7 +123,7 @@
<select id="findbyselect">
<option value=''></option>
</select> <br />
<input type="checkbox" name="objtype" id="cbp" value="planets" checked><label for="cbp"> Planets</label> <input type="checkbox" name="objtype" id="cbs" value="stations" onclick="populateUserFields();"> <label for="cbs">Stations</label>
<input type="checkbox" name="objtype" id="cbp" value="planets" checked><label for="cbp"> Planets</label> <input type="checkbox" name="objtype" id="cbs" value="stations" > <label for="cbs">Stations</label>
<button id="submitfindbyname" class="btn">Find</button>
</span>
<span class="toolsep"></span>