projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49d30c8
)
fix disabling of package and customer categories, RT#25110
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 23 Oct 2013 22:42:48 +0000
(15:42 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 23 Oct 2013 22:42:48 +0000
(15:42 -0700)
httemplate/edit/elements/class_Common.html
patch
|
blob
|
history
diff --git
a/httemplate/edit/elements/class_Common.html
b/httemplate/edit/elements/class_Common.html
index
c5fe7f1
..
8f33cd2
100644
(file)
--- 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', },