summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/class_Common.html
diff options
context:
space:
mode:
authorRob Van Dam <rvandam00@gmail.com>2013-11-07 15:27:24 -0700
committerRob Van Dam <rvandam00@gmail.com>2013-11-07 15:27:24 -0700
commitdf1ebf662a9fc3f89503036e0dbf6833c1b95f9e (patch)
treef62eafd9d77427277e6aaa4353fb3bf8567926fd /httemplate/edit/elements/class_Common.html
parent45cd27b19e8ad50f835915746fb89e486cbb69c0 (diff)
parenta180208786cccb72ab017e39fff0cb128aa6ba01 (diff)
Merge remote-tracking branch 'upstream/master'
Conflicts: FS/FS/cust_pkg.pm
Diffstat (limited to 'httemplate/edit/elements/class_Common.html')
-rw-r--r--httemplate/edit/elements/class_Common.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/httemplate/edit/elements/class_Common.html b/httemplate/edit/elements/class_Common.html
index 0a0916ebc..723227f23 100644
--- a/httemplate/edit/elements/class_Common.html
+++ b/httemplate/edit/elements/class_Common.html
@@ -30,7 +30,13 @@ unless ( $opt{'nocat'} ) {
my $fields = [ 'classname',
(scalar(@category)
- ? { field=>'categorynum', type=>'select-table', 'empty_label'=>'(none)', 'table'=>$category_table, 'name_col'=>'categoryname' }
+ ? { field => 'categorynum',
+ type => 'select-table',
+ table => $category_table,
+ hashref => { 'disabled' => '' },
+ name_col => 'categoryname',
+ empty_label => '(none)',
+ }
: { field=>'categorynum', type=>'hidden' }
),
{ field=>'disabled', type=>'checkbox', value=>'Y', },