Add (missing) support for textarea cols to be added to the contact form

pull/1/head
thomascube 12 years ago
parent b1b808d2cd
commit 5a79416789

@ -4620,6 +4620,14 @@ function rcube_webmail()
if (colprop.type == 'date' && $.datepicker)
input.datepicker();
}
else if (colprop.type == 'textarea') {
input = $('<textarea>')
.addClass('ff_'+col)
.attr({ name: '_'+col+name_suffix, cols:colprop.size, rows:colprop.rows })
.appendTo(cell);
this.init_edit_field(col, input);
}
else if (colprop.type == 'composite') {
var childcol, cp, first, templ, cols = [], suffices = [];
// read template for composite field order

Loading…
Cancel
Save