From 57c5cf47f41739b57c563ddac09d0bd49d6d67b4 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 10 Mar 2013 22:28:34 -0700 Subject: hide svc_phone.sip_password like svc_acct._password unless showpasswords config is on, RT#20862 --- httemplate/edit/process/elements/process.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'httemplate/edit/process/elements') diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index 2d39e9dce..fb1ee7a27 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -263,6 +263,9 @@ foreach my $value ( @values ) { if ( !$error ) { if ( $old_pkey ) { + + &{ $opt{'edit_callback'} }( $new, $old ) if $opt{'edit_callback'}; + $error = $new->replace($old, @args); } else { $error = $new->insert(@args); -- cgit v1.2.1