Commit aa50b5b40b795244436656a4d69bf5a767cb8d07
1 parent
8ed09098
Expand TextArea size as per text input box size increase.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5659 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
templates/kt3/fields/text.smarty
| ... | ... | @@ -13,8 +13,8 @@ |
| 13 | 13 | |
| 14 | 14 | <textarea name="{$name}" |
| 15 | 15 | {if $has_id} id="{$id}"{/if} |
| 16 | - {if $options.rows} rows="{$options.rows}"{/if} | |
| 17 | - {if $options.cols} cols="{$options.cols}"{/if} | |
| 16 | + {if $options.rows} rows="{$options.rows}"{else} rows="7"{/if} | |
| 17 | + {if $options.cols} cols="{$options.cols}"{else} cols="45"{/if} | |
| 18 | 18 | >{if $has_value}{$value}{/if}</textarea> |
| 19 | 19 | <input type="hidden" name="kt_core_fieldsets_expect[{$name}]" value ="1" /> |
| 20 | 20 | </div> | ... | ... |