diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-07-08 15:56:19 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-07-10 03:38:22 +0200 |
commit | 46e813e749d2e07650373734dd09dda7f1d8276d (patch) | |
tree | b3f780d5da3f46edd06ca0f3379a9497dab73376 /settings/js | |
parent | 1b4e70efe3040e31fe7aa6f4c7c89c5ed3b6509a (diff) | |
download | nextcloud-server-46e813e749d2e07650373734dd09dda7f1d8276d.tar.gz nextcloud-server-46e813e749d2e07650373734dd09dda7f1d8276d.zip |
Enable the toggleSelect extension in multi-select dropdowns
The toggleSelect extension for Select2 makes possible to unselect items
in a multi-select dropdown by clicking on them; this behaviour should be
enabled in all the multi-select dropdowns used in the server.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/settings.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/js/settings.js b/settings/js/settings.js index 5a2ba4bcec7..3a1e67f41cd 100644 --- a/settings/js/settings.js +++ b/settings/js/settings.js @@ -30,6 +30,7 @@ OC.Settings = _.extend(OC.Settings, { placeholder: t('core', 'Groups'), allowClear: true, multiple: true, + toggleSelect: true, separator: '|', query: _.debounce(function(query) { var queryData = {}; |