Merge "Added millisecond delay to reduce the number of queries."

This commit is contained in:
Jenkins 2014-12-22 14:01:16 +00:00 committed by Gerrit Code Review
commit f7419586eb
6 changed files with 6 additions and 0 deletions

View File

@ -115,6 +115,7 @@
required
ng-model="project"
typeahead-editable="false"
typeahead-wait-ms="200"
typeahead="project as project.name for project
in searchProjects($viewValue)"
typeahead-loading="loadingProjects"

View File

@ -111,6 +111,7 @@
required
ng-model="project"
typeahead-editable="false"
typeahead-wait-ms="200"
typeahead="project as project.name for project
in searchProjects($viewValue)"
typeahead-loading="loadingProjects"

View File

@ -97,6 +97,7 @@
placeholder="Select a Project"
required
ng-model="asyncProject"
typeahead-wait-ms="200"
typeahead-editable="false"
typeahead="project as project.name for project
in searchProjects($viewValue)"

View File

@ -84,6 +84,7 @@
class="form-control"
placeholder="Search"
ng-model="searchString"
typeahead-wait-ms="200"
typeahead-append-to-body="true"
typeahead-editable="false"
typeahead="criteria as criteria.title for criteria in quickSearch($viewValue)"

View File

@ -44,6 +44,7 @@
focus="autoFocus"
ng-blur="updateViewValue(selectedProject.id); toggleForm()"
typeahead-editable="false"
typeahead-wait-ms="200"
typeahead="project as project.name for project in searchProjects($viewValue)"
typeahead-loading="loadingProjects"
typeahead-input-formatter="formatProjectName($model)"

View File

@ -43,6 +43,7 @@
focus="autoFocus"
ng-blur="updateViewValue(selectedUser.id); toggleForm()"
typeahead-editable="false"
typeahead-wait-ms="200"
typeahead="user as user.full_name for user in searchUsers($viewValue)"
typeahead-loading="loadingUsers"
typeahead-input-formatter="formatUserName($model)"