summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/edit.html
diff options
context:
space:
mode:
authorivan <ivan>2010-01-25 22:17:14 +0000
committerivan <ivan>2010-01-25 22:17:14 +0000
commit9ad4f8407cc106ef5815e65bce2ee873cd0896c2 (patch)
treed4b8c2ab3df5369cb3aa5b64dc8774ec71c7933c /httemplate/edit/elements/edit.html
parent667cee1c0b352573f80663eae5be2de8ad8a93de (diff)
linking DIDs and users to PBXes, RT#7051
Diffstat (limited to 'httemplate/edit/elements/edit.html')
-rw-r--r--httemplate/edit/elements/edit.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index 43b7afe11..4fe32c15d 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -40,6 +40,10 @@ Example:
'disabled' => 0,
'onchange' => 'javascript_function',
+ 'include_opt_callback' => sub { #my $ = @_;
+ ( 'option' => 'value', );
+ },
+
'm2name_table' => 'table_name',
'm2name_namecol' => 'name_column',
#OR#
@@ -294,6 +298,10 @@ Example:
% $include_common{'colspan'} = $f->{colspan} if $f->{colspan};
% }
%
+% if ( $f->{include_opt_callback} ) {
+% %include_common = ( %include_common, &{ $f->{include_opt_callback} } );
+% }
+%
% my $layer_prefix_on = '';
%
% my $include_sub = sub {