From: ivan Date: Thu, 22 Nov 2007 01:03:32 +0000 (+0000) Subject: usability: don't offer 'Select agent' choice if the dropdown already has a value X-Git-Tag: freeside_1_7_3rc1~262 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=cbccdb069b2b18d0bc9749b953c1aaeba0113335;p=freeside.git usability: don't offer 'Select agent' choice if the dropdown already has a value --- diff --git a/httemplate/edit/cust_main.cgi b/httemplate/edit/cust_main.cgi index bca573862..5ab605f5d 100755 --- a/httemplate/edit/cust_main.cgi +++ b/httemplate/edit/cust_main.cgi @@ -123,8 +123,9 @@ <% include('/elements/tr-select-agent.html', $cust_main->agentnum, - 'label' => "${r}Agent", - 'empty_label' => 'Select agent', + 'label' => "${r}Agent", + 'empty_label' => 'Select agent', + 'disable_empty' => ( $cust_main->agentnum ? 1 : 0 ), ) %>