From 99f1c015eb0858e178d22025d47a951c74d7916d Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 8 Feb 2007 17:00:38 +0000 Subject: [PATCH] fix usergroup in edit/part_svc.cgi --- FS/FS/svc_acct.pm | 1 + httemplate/edit/part_svc.cgi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 8504c1834..32ffb76d1 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -272,6 +272,7 @@ sub table_info { label => 'RADIUS groups', type => 'radius_usergroup_selector', disable_inventory => 1, + disable_select => 1, }, 'seconds' => { label => 'Seconds', type => 'text', diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index a2ceceda0..4b841dd99 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -223,7 +223,7 @@ that field. % ' } else if ( f == "D" || f == "F" || f =="S" ) { //enable, text box', % " what.form.${layer}__${field}.disabled = false;". % " what.form.${layer}__${field}.style.backgroundColor = '#ffffff';". -% ' if ( f == "S" ) {'. +% " if ( f == 'S' || '${field}' == 'usergroup' ) {". # kludge % " what.form.${layer}__${field}.multiple = true;". % " } else {". % " what.form.${layer}__${field}.multiple = false;". -- 2.11.0