GUAC-1193: Use actual form and submit button - allow automatic handling of searching via pressing "Enter", etc.

This commit is contained in:
Michael Jumper
2015-10-15 14:07:26 -07:00
parent 83edfb9832
commit aa2261c282

View File

@@ -25,10 +25,10 @@
<p>{{'SETTINGS_CONNECTION_HISTORY.HELP_CONNECTION_HISTORY' | translate}}</p>
<!-- Search controls -->
<div class="filter">
<form class="filter" ng-submit="search()">
<input class="search-string" type="text" placeholder="{{'SETTINGS_CONNECTION_HISTORY.FIELD_PLACEHOLDER_FILTER' | translate}}" ng-model="searchString" />
<button class="search-button" ng-click="search()">{{'SETTINGS_CONNECTION_HISTORY.ACTION_SEARCH' | translate}}</button>
</div>
<input class="search-button" type="submit" value="{{'SETTINGS_CONNECTION_HISTORY.ACTION_SEARCH' | translate}}" />
</form>
<!-- Search results -->
<div class="results" ng-class="{loading: !isLoaded()}">