summaryrefslogtreecommitdiff
path: root/httemplate/edit/elements/edit.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-09-28 09:57:14 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-09-28 10:25:08 -0400
commitf222a656ebe712021d004000ac83df6e69dd3677 (patch)
tree56ce555fb4a6f4547152600a0770a94583b4e0c5 /httemplate/edit/elements/edit.html
parent73a6d01b7691dd906aabe058be88542d8e59838d (diff)
RT# 75817 - fixed issue with contact edit on edit customer page
Diffstat (limited to 'httemplate/edit/elements/edit.html')
-rw-r--r--httemplate/edit/elements/edit.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index 0062b7e2d..2a1cca68f 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 <FORM>, no hidden fields for table name or primary key, no
# display of primary key, no submit button, no html_foot, no footer)
@@ -398,6 +401,8 @@ Example:
%
% my $layer_prefix_on = '';
%
+% my $submitid = $opt{submit_id} ? $opt{submit_id} : '';
+%
% my $include_sub = sub {
% my %opt = @_;
%
@@ -422,6 +427,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,
% );