fix multiselect

This commit is contained in:
Hendrik Leppelsack 2015-09-25 00:47:48 +02:00
parent c23cac3322
commit 604f5783fd
1 changed files with 3 additions and 0 deletions

View File

@ -109,6 +109,9 @@
var id='ms'+multiSelectId+'-option-'+item; var id='ms'+multiSelectId+'-option-'+item;
var input=$('<input type="' + inputType + '"/>'); var input=$('<input type="' + inputType + '"/>');
input.attr('id',id); input.attr('id',id);
if(inputType === 'checkbox') {
input.addClass('checkbox');
}
if(settings.singleSelect) { if(settings.singleSelect) {
input.attr('name', 'ms'+multiSelectId+'-option'); input.attr('name', 'ms'+multiSelectId+'-option');
} }