projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea79625
)
usability: don't offer 'Select agent' choice if the dropdown already has a value
author
ivan
<ivan>
Thu, 22 Nov 2007 01:03:32 +0000
(
01:03
+0000)
committer
ivan
<ivan>
Thu, 22 Nov 2007 01:03:32 +0000
(
01:03
+0000)
httemplate/edit/cust_main.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/cust_main.cgi
b/httemplate/edit/cust_main.cgi
index
bca5738
..
5ab605f
100755
(executable)
--- a/
httemplate/edit/cust_main.cgi
+++ b/
httemplate/edit/cust_main.cgi
@@
-123,8
+123,9
@@
<!-- agent -->
<% include('/elements/tr-select-agent.html', $cust_main->agentnum,
- 'label' => "<B>${r}Agent</B>",
- 'empty_label' => 'Select agent',
+ 'label' => "<B>${r}Agent</B>",
+ 'empty_label' => 'Select agent',
+ 'disable_empty' => ( $cust_main->agentnum ? 1 : 0 ),
)
%>