diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.js b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.js index f03cf977622a63a089ccf5ee3bcf1c5490faf5a6..763cca0047c3f155b2cfc34d1120cf11cedba1c1 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.js +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.js @@ -52,7 +52,7 @@ } if (this.state.focused) { - textarea.setAttribute('rows', this.state.value.split('\n').length); + textarea.setAttribute('rows', Math.max(this.state.value.split('\n').length, 2)); } else { textarea.setAttribute('rows', 2); } diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.xml index fc82995b9552916e66f148d49b79d767cee4cdbd..8544098208f17a0c1e7324364a1004cbb277d7b2 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_html5_textarea_js.xml @@ -230,7 +230,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>954.27455.2029.68</string> </value> + <value> <string>954.45675.44850.53452</string> </value> </item> <item> <key> <string>state</string> </key> @@ -248,7 +248,7 @@ </tuple> <state> <tuple> - <float>1476194310.55</float> + <float>1478794055.21</float> <string>UTC</string> </tuple> </state>