summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-10 23:39:43 +0200
committerGitHub <noreply@github.com>2017-07-10 23:39:43 +0200
commit7df7d0ff3b3e884ec60d7dd79dd78643569f40fe (patch)
tree300bf88df1168b3ffc5a803fb4522d146c09c5fd /apps
parent464e635c28984f2de25b14749a724c2902965cae (diff)
parent46e813e749d2e07650373734dd09dda7f1d8276d (diff)
downloadnextcloud-server-7df7d0ff3b3e884ec60d7dd79dd78643569f40fe.tar.gz
nextcloud-server-7df7d0ff3b3e884ec60d7dd79dd78643569f40fe.zip
Merge pull request #5656 from nextcloud/fix-unselecting-items-on-multi-select-dropdowns
Fix unselecting items on multi select dropdowns
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/js/settings.js1
-rw-r--r--apps/systemtags/js/systemtagsfilelist.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 4e35ea531eb..112676b8c27 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -93,6 +93,7 @@ function addSelect2 ($elements, userListLimit) {
placeholder: t('files_external', 'All users. Type to select user or group.'),
allowClear: true,
multiple: true,
+ toggleSelect: true,
dropdownCssClass: 'files-external-select2',
//minimumInputLength: 1,
ajax: {
diff --git a/apps/systemtags/js/systemtagsfilelist.js b/apps/systemtags/js/systemtagsfilelist.js
index c2a6f09fd9e..a40eb548d9f 100644
--- a/apps/systemtags/js/systemtagsfilelist.js
+++ b/apps/systemtags/js/systemtagsfilelist.js
@@ -88,6 +88,7 @@
placeholder: t('systemtags', 'Select tags to filter by'),
allowClear: false,
multiple: true,
+ toggleSelect: true,
separator: ',',
query: _.bind(this._queryTagsAutocomplete, this),