Fix assigning .form-control-plaintext to form cells with select element

pull/5742/merge
Aleksander Machniak 7 years ago
parent ee25ea4c5d
commit bbab99811d

@ -300,7 +300,7 @@ function rcube_elastic_ui()
if (last.find('[type=checkbox]').length) { if (last.find('[type=checkbox]').length) {
row_classes.push('form-check'); row_classes.push('form-check');
} }
else if (!last.find('input,textarea,radio').length) { else if (!last.find('input,textarea,radio,select').length) {
last.addClass('form-control-plaintext'); last.addClass('form-control-plaintext');
} }
} }

Loading…
Cancel
Save