summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg_taxoverride.html
diff options
context:
space:
mode:
authorjeff <jeff>2008-08-28 21:32:26 +0000
committerjeff <jeff>2008-08-28 21:32:26 +0000
commit42132c9a86d36d7fefa7ba5f058f764ba6e7ad5b (patch)
treecc02b304e583dd1a10d09f300cc15c56e5863a65 /httemplate/edit/part_pkg_taxoverride.html
parentf0d52fc82b138598228c401d99b56e88366c6945 (diff)
taxproduct selection for one time charges
Diffstat (limited to 'httemplate/edit/part_pkg_taxoverride.html')
-rw-r--r--httemplate/edit/part_pkg_taxoverride.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/httemplate/edit/part_pkg_taxoverride.html b/httemplate/edit/part_pkg_taxoverride.html
index 5f191b373..61dfa2ac5 100644
--- a/httemplate/edit/part_pkg_taxoverride.html
+++ b/httemplate/edit/part_pkg_taxoverride.html
@@ -10,8 +10,8 @@
<TR><TD>
<FORM="dummy">
<CENTER>
- <INPUT type="submit" value="Finish" onclick="s=fetchSelected(); s.shift(); parent.document.getElementById('<% $element_name || "tax_override" %>').value=s.toString(); parent.cClick();">
- <INPUT type="reset" value="Cancel" onclick="parent.cClick();">
+ <INPUT type="submit" value="Finish" onclick="s=fetchSelected(); s.shift(); parent.document.getElementById('<% $element_name || "tax_override" %>').value=s.toString(); parent.<% $onclick %>();">
+ <INPUT type="reset" value="Cancel" onclick="parent.<% $onclick %>();">
</CENTER>
</FORM>
</TD></TR>
@@ -124,4 +124,9 @@ my $selected = $1
my $element_name = $1
if $cgi->param('element_name') =~/^(\w+)$/;
+my $onclick = $1
+ if $cgi->param('onclick') =~/^(\w+)$/;
+
+$onclick = 'cClick' unless $onclick;
+
</%init>