Various improvements

pull/5742/merge
Aleksander Machniak 7 years ago
parent 86a641cf1c
commit 1464c6d777

@ -91,6 +91,9 @@ button.btn {
&.remove:before {
content: @fa-var-close;
}
&.unlock:before {
content: @fa-var-unlock;
}
}
button.btn {

@ -29,6 +29,17 @@ input.smart-upload {
&:not(.popupmenu) {
width: 100%;
}
/* This is the way we can have multiple checkboxes in a single form field */
.form-check td:not(.title) > label {
display: block;
margin: 0;
line-height: 2rem;
label {
margin-right: .5rem;
}
}
}
.propform,

@ -202,12 +202,7 @@ function rcube_elastic_ui()
.appendTo(rcmail.gui_objects.messageform);
$(this).on('change', function() {
if (this.type == 'checkbox') {
hidden.attr('checked', $(this).attr('checked'));
}
else {
hidden.val($(this).val());
}
hidden.val(this.type != 'checkbox' || this.checked ? $(this).val() : '');
}).change();
});

Loading…
Cancel
Save