summaryrefslogtreecommitdiffstats
path: root/core/js/multiselect.js
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-09-25 00:47:48 +0200
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-09-25 00:51:39 +0200
commit604f5783fd6f50c0bf5319927a02071143bfa3a3 (patch)
tree1c0b7d73ac298682e312179b7314e60bf5268218 /core/js/multiselect.js
parentc23cac33227e09f27a35eb51b619e9f1b7d31a5f (diff)
downloadnextcloud-server-604f5783fd6f50c0bf5319927a02071143bfa3a3.tar.gz
nextcloud-server-604f5783fd6f50c0bf5319927a02071143bfa3a3.zip
fix multiselect
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r--core/js/multiselect.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index 41dc68ac051..6d5c54ac0f5 100644
--- a/core/js/multiselect.js
+++ b/core/js/multiselect.js
@@ -109,6 +109,9 @@
var id='ms'+multiSelectId+'-option-'+item;
var input=$('<input type="' + inputType + '"/>');
input.attr('id',id);
+ if(inputType === 'checkbox') {
+ input.addClass('checkbox');
+ }
if(settings.singleSelect) {
input.attr('name', 'ms'+multiSelectId+'-option');
}