fixed issue 478, thank you Matthew Norris, sorry this took so long
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-08-08 13:59:52) dev
|
||||
Version 2.00.0 (2012-08-08 14:15:29) dev
|
||||
|
||||
+2
-5
@@ -45,11 +45,8 @@ if(jQuery) (function($){
|
||||
html += '<div class="multiSelectOptions" style="position: absolute; z-index: 99999; display: none;">';
|
||||
if( o.selectAll ) html += '<label class="selectAll"><input type="checkbox" class="selectAll" />' + o.selectAllText + '</label>';
|
||||
$(select).find('OPTION').each( function() {
|
||||
if( $(this).val() != '' ) {
|
||||
html += '<label><input type="checkbox" name="' + $(select).attr('name') + '" value="' + $(this).val() + '"';
|
||||
if( $(this).attr('selected') ) html += ' checked="checked"';
|
||||
html += ' />' + $(this).html() + '</label>';
|
||||
}
|
||||
if( $(this).val() != '' )
|
||||
html += '<label for="'+$(select).attr('name')+'">'+$(this).html() + '</label><input type="checkbox" name="' + $(select).attr('name') + '" value="' + $(this).val() + '"'+($(this).attr('selected')?' checked="checked"':'')+' />';
|
||||
});
|
||||
html += '</div>';
|
||||
$(select).after(html);
|
||||
|
||||
Reference in New Issue
Block a user