diff options
| author | ivan <ivan> | 2010-03-12 03:36:36 +0000 | 
|---|---|---|
| committer | ivan <ivan> | 2010-03-12 03:36:36 +0000 | 
| commit | 9e570867c27b5336f4fa701c84b70fd65791f87c (patch) | |
| tree | d1d495861d3dcd54457604e09eecacc813fcbcf1 /httemplate/edit/elements/edit.html | |
| parent | 1cc9a75a47a548fc8a200371c88647f34c71db14 (diff) | |
add location to svc_phone, RT#7047
Diffstat (limited to 'httemplate/edit/elements/edit.html')
| -rw-r--r-- | httemplate/edit/elements/edit.html | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 88a1fe58d..0c7c02dab 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -40,7 +40,7 @@ Example:                      'disabled' => 0,                      'onchange' => 'javascript_function', -                    'include_opt_callback' => sub { #my $ = @_; +                    'include_opt_callback' => sub { my $object = @_;                                                      ( 'option' => 'value', );                                                    }, @@ -300,11 +300,15 @@ Example:  %  %   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 = ( %include_common, &{ $f->{include_opt_callback} } ); +%     %include_common = ( %include_common, +%                         &{ $f->{include_opt_callback} }( $object ) +%                       );  %   }  %  %   my $layer_prefix_on = ''; | 
