diff options
author | ivan <ivan> | 2008-12-22 21:16:55 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-12-22 21:16:55 +0000 |
commit | ec1f5479c8404ed7d059c309f946ed1d0b369aad (patch) | |
tree | 4acae87ef7e8c5c72f651a4fd7ab67451d15c150 | |
parent | e2690d1b6bad654d44f49df54fc75a30b09fcabd (diff) |
soft-limit package names to 50 chars to avoid problems with typeset invoices, RT#4449
-rwxr-xr-x | httemplate/edit/part_pkg.cgi | 2 | ||||
-rw-r--r-- | httemplate/edit/quick-charge.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi index 8fd3ed312..f79e759fa 100755 --- a/httemplate/edit/part_pkg.cgi +++ b/httemplate/edit/part_pkg.cgi @@ -50,7 +50,7 @@ { field => 'pkg', type => 'text', size => 40, #32 - maxlength => 60, + maxlength => 50, }, {field=>'comment', type=>'text', size=>40 }, #32 {field=>'classnum', type=>'select-pkg_class' }, diff --git a/httemplate/edit/quick-charge.html b/httemplate/edit/quick-charge.html index cbf1dcb74..8f376a54d 100644 --- a/httemplate/edit/quick-charge.html +++ b/httemplate/edit/quick-charge.html @@ -88,7 +88,7 @@ function validate_quick_charge () { <TR> <TD>Description:</TD> <TD> - <INPUT TYPE="text" NAME="pkg" SIZE="60" MAXLENGTH="65" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()"> + <INPUT TYPE="text" NAME="pkg" SIZE="50" MAXLENGTH="50" VALUE="<% $pkg %>" onChange="enable_quick_charge()" onKeyPress="enable_quick_charge()"> </TD> </TR> |