Browse Source

#166: reduce debounce time

Davide Alberani 7 years ago
parent
commit
b35ea4e2a1

+ 1 - 1
angular_app/event-tickets.html

@@ -27,7 +27,7 @@
                         <form class="form-inline">
                             <div class="form-group">
                                 <label for="query-tickets">{{'Search:' | translate}}</label>
-                                <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 600}">
+                                <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                             </div>&nbsp;<label>&nbsp;<input type="checkbox" ng-model="registeredFilterOptions.all" /> {{'Show cancelled tickets' | translate}}</label>
                         </form>
 						<pagination ng-model="currentPage" total-items="filteredLength" items-per-page="itemsPerPage"

+ 1 - 1
angular_app/events-list.html

@@ -13,7 +13,7 @@
             <form class="form-inline">
                 <div class="form-group">
                     <label for="query-events">{{'Search:' | translate}}</label>
-                    <input eventman-focus type="text" id="query-events" class="form-control" placeholder="{{'Event title' | translate}}" ng-model="query" ng-model-options="{debounce: 600}">
+                    <input eventman-focus type="text" id="query-events" class="form-control" placeholder="{{'Event title' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                 </div>
                 <div class="form-group">
                     <label for="events-order">Sort by:</label>

+ 1 - 1
angular_app/tickets-list.html

@@ -11,7 +11,7 @@
             <form class="form-inline">
                 <div class="form-group">
                     <label for="query-tickets">{{'Search:' | translate}}</label>
-                    <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 600}">
+                    <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Name or email' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                 </div>
             </form>
 

+ 1 - 1
angular_app/user-edit.html

@@ -31,7 +31,7 @@
             <form class="form-inline">
                 <div class="form-group">
                     <label for="query-tickets">{{'Search:' | translate}}</label>
-                    <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Event title' | translate}}" ng-model="query" ng-model-options="{debounce: 600}">
+                    <input eventman-focus type="text" id="query-tickets" class="form-control" placeholder="{{'Event title' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                 </div>
                 <div class="form-group">
                     <label for="tickets-order">{{'Sort by:' | translate}}</label>

+ 1 - 1
angular_app/users-list.html

@@ -14,7 +14,7 @@
             <form class="form-inline">
                 <div class="form-group">
                     <label for="query-users">{{'Search:' | translate}}</label>
-                    <input userman-focus type="text" id="query-users" class="form-control" placeholder="{{'Username or email' | translate}}" ng-model="query" ng-model-options="{debounce: 600}">
+                    <input userman-focus type="text" id="query-users" class="form-control" placeholder="{{'Username or email' | translate}}" ng-model="query" ng-model-options="{debounce: 350}">
                 </div>
                 <div class="form-group">
                     <label for="users-order">Sort by:</label>