Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorbodo <bodo@europa.frickelware.net>2016-05-29 15:13:20 +0300
committerbodo <bodo@europa.frickelware.net>2016-05-31 18:58:37 +0300
commit54d396b0dfca6e74eff16c0686d1cfd35df1a578 (patch)
treea8ef8eb6dff67c3e6f00333024c3dc0c350d2aec /js
parent7dda6be38a318d2baf19c94c9c3380a0f0c9cd55 (diff)
display only "display name" in user pick list
Diffstat (limited to 'js')
-rw-r--r--js/create_edit.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/create_edit.js b/js/create_edit.js
index 970729b3..ca07ecc2 100644
--- a/js/create_edit.js
+++ b/js/create_edit.js
@@ -249,11 +249,11 @@ $(document).ready(function () {
$('.live-search-box-user').on('keyup', function(){
var searchTerm = $(this).val().toLowerCase();
$('.live-search-list-user li').each(function(){
- if ($(this).filter('[data-search-term *= ' + searchTerm + ']').length > 0 || searchTerm.length < 1) {
+ if ($(this).filter('[data-search-term *= ' + searchTerm + ']').length > 0 || searchTerm.length < 1) {
$(this).show();
} else {
- $(this).hide();
- }
+ $(this).hide();
+ }
});
});
@@ -262,7 +262,7 @@ $(document).ready(function () {
});
$('.live-search-box-group').on('keyup', function(){
- var searchTerm = $(this).val().toLowerCase();
+ var searchTerm = $(this).val().toLowerCase();
$('.live-search-list-group li').each(function(){
if ($(this).filter('[data-search-term *= ' + searchTerm + ']').length > 0 || searchTerm.length < 1) {
$(this).show();