Merge pull request #1316 from girirajsharma/master

[KEYCLOAK-1367] - Enter doesn't work in user search box
This commit is contained in:
Stian Thorgersen 2015-06-02 13:35:03 +01:00
commit ea544c639e

View file

@ -9,9 +9,9 @@
<div class="form-inline">
<div class="form-group">
<div class="input-group">
<input type="text" placeholder="Search..." data-ng-model="query.search" class="form-control search" onkeyup="if(event.keyCode == 13){$(this).next('I').click();}">
<input type="text" placeholder="Search..." data-ng-model="query.search" class="form-control search" onkeydown="if (event.keyCode == 13) document.getElementById('userSearch').click()">
<div class="input-group-addon">
<i class="fa fa-search" data-ng-click="firstPage()" type="submit"></i>
<i class="fa fa-search" id="userSearch" data-ng-click="firstPage()"></i>
</div>
</div>
</div>