aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorRaghu Nayyar <me@iraghu.com>2015-09-25 14:02:39 +0530
committerRaghu Nayyar <me@iraghu.com>2015-09-25 14:02:39 +0530
commitbf73665a35470432ae939a70eb91ecf9f8933240 (patch)
tree1c0b7d73ac298682e312179b7314e60bf5268218 /core/js
parente7bc2a10e3ffd16cda8d15ff06dcbc870e34a627 (diff)
parent604f5783fd6f50c0bf5319927a02071143bfa3a3 (diff)
downloadnextcloud-server-bf73665a35470432ae939a70eb91ecf9f8933240.tar.gz
nextcloud-server-bf73665a35470432ae939a70eb91ecf9f8933240.zip
Merge pull request #19329 from owncloud/checkbox-class
Add .checkbox class for new checkbox style
Diffstat (limited to 'core/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');
}