projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add location to svc_phone, RT#7047
[freeside.git]
/
httemplate
/
edit
/
elements
/
edit.html
diff --git
a/httemplate/edit/elements/edit.html
b/httemplate/edit/elements/edit.html
index
8c88852
..
1a1023c
100644
(file)
--- a/
httemplate/edit/elements/edit.html
+++ b/
httemplate/edit/elements/edit.html
@@
-40,7
+40,7
@@
Example:
'disabled' => 0,
'onchange' => 'javascript_function',
'disabled' => 0,
'onchange' => 'javascript_function',
- 'include_opt_callback' => sub {
#my $
= @_;
+ 'include_opt_callback' => sub {
my $object
= @_;
( 'option' => 'value', );
},
( 'option' => 'value', );
},
@@
-296,11
+296,15
@@
Example:
%
% if ( $type eq 'tablebreak-tr-title' ) {
% $include_common{'table_id'} = 'TableNumber'. $tablenum++;
%
% if ( $type eq 'tablebreak-tr-title' ) {
% $include_common{'table_id'} = 'TableNumber'. $tablenum++;
+% }
+% if ( $type eq 'tablebreak-tr-title' || $type eq 'title' ) {
% $include_common{'colspan'} = $f->{colspan} if $f->{colspan};
% }
%
% if ( $f->{include_opt_callback} ) {
% $include_common{'colspan'} = $f->{colspan} if $f->{colspan};
% }
%
% if ( $f->{include_opt_callback} ) {
-% %include_common = ( %include_common, &{ $f->{include_opt_callback} } );
+% %include_common = ( %include_common,
+% &{ $f->{include_opt_callback} }( $object )
+% );
% }
%
% my $layer_prefix_on = '';
% }
%
% my $layer_prefix_on = '';