diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-21 16:25:20 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-04-21 16:25:20 +0000 |
| commit | ffcbf85d7ff0cca3befff9022a9391e0c545036c (patch) | |
| tree | 5161810923ea606d3e7e050c9827c58ed86a6ca0 /roundcubemail/program/js/app.js | |
| parent | 829dff4d6bdb33ea3de20af3e39dac3113b333ba (diff) | |
Add (missing) support for textarea cols to be added to the contact form
git-svn-id: https://svn.roundcube.net/trunk@6107 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 7bf44320d..f3c91b2e5 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -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 |
