From 088d455c563ca3b75be357727622d968e49b3ed1 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Fri, 28 Sep 2018 09:57:14 -0400 Subject: RT# 75817 - fixed issue with contact edit on edit customer page Conflicts: httemplate/edit/cust_main-contacts.html httemplate/edit/cust_main.cgi httemplate/edit/cust_main/contacts_new.html --- httemplate/edit/elements/edit.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'httemplate/edit/elements/edit.html') diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index ff1da4945..a238a3f04 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -114,6 +114,9 @@ Example: #we're in a popup (no title/menu/searchboxes) 'popup' => 1, + #if you need to access the submit button + 'submit_id' => 'mysubmitbuttonid', + #we're embedded (rows only: no header at all, no html_init, no error # display, no
, no hidden fields for table name or primary key, no # display of primary key, no submit button, no html_foot, no footer) @@ -371,6 +374,8 @@ Example: % % my $layer_prefix_on = ''; % +% my $submitid = $opt{submit_id} ? $opt{submit_id} : ''; +% % my $include_sub = sub { % my %opt = @_; % @@ -395,6 +400,7 @@ Example: % 'field' => "$field$fieldnum", % 'id' => "$field$fieldnum", #separate? % 'label_id' => $field."_label$fieldnum", #don't want field0_label0... +% 'submit_id' => $submitid, % %include_common, % %opt, % ); -- cgit v1.2.1