Bug 9571 [Alternate] Fix width for textareas in Edit Item screen
authorOwen Leonard <oleonard@myacpl.org>
Fri, 8 Feb 2013 16:21:11 +0000 (11:21 -0500)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Tue, 2 Apr 2013 12:23:34 +0000 (08:23 -0400)
commit9b242afd75b68ed06372db95a1b46435d918871d
tree2e9732af23f9fd68d9d7e43a5188b8f2e1f87122
parent6dd36b7fa7410492b73f3d09b0fd28d9f615f5e4
Bug 9571 [Alternate] Fix width for textareas in Edit Item screen

This alternative patch modifies the script where the input markup is
built and adds an alternative configuration for textareas. This gives
the textareas explicit "cols" and "rows" attributes. I think this
solution is preferable to a style fix because it solves the bug while
eliminating some invalid markup (no "size" or "maxlength" attributes on
textareas, which are invalid without explicit dimensions).

To test, add a nice big chunk of text to an existing item's item field
like "Public note" (952$z), save, and edit again. The field should now
be displayed in a more comfortably-sized textarea.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
cataloguing/additem.pl