projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2690d1
)
soft-limit package names to 50 chars to avoid problems with typeset invoices, RT...
author
ivan
<ivan>
Mon, 22 Dec 2008 21:16:55 +0000
(21:16 +0000)
committer
ivan
<ivan>
Mon, 22 Dec 2008 21:16:55 +0000
(21:16 +0000)
httemplate/edit/part_pkg.cgi
patch
|
blob
|
history
httemplate/edit/quick-charge.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_pkg.cgi
b/httemplate/edit/part_pkg.cgi
index
8fd3ed3
..
f79e759
100755
(executable)
--- a/
httemplate/edit/part_pkg.cgi
+++ b/
httemplate/edit/part_pkg.cgi
@@
-50,7
+50,7
@@
{ field => 'pkg',
type => 'text',
size => 40, #32
- maxlength =>
6
0,
+ maxlength =>
5
0,
},
{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
cbf1dcb
..
8f376a5
100644
(file)
--- 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>