summaryrefslogtreecommitdiff
path: root/httemplate/elements/select-taxproduct.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/elements/select-taxproduct.html
parentf0d52fc82b138598228c401d99b56e88366c6945 (diff)
taxproduct selection for one time charges
Diffstat (limited to 'httemplate/elements/select-taxproduct.html')
-rw-r--r--httemplate/elements/select-taxproduct.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/select-taxproduct.html b/httemplate/elements/select-taxproduct.html
index 37a428960..0f6ef5583 100644
--- a/httemplate/elements/select-taxproduct.html
+++ b/httemplate/elements/select-taxproduct.html
@@ -8,7 +8,7 @@
TYPE = "text"
VALUE = "<% $description %>"
SIZE = "12"
- onclick = "overlib( OLiframeContent('<% $p %>/browse/part_pkg_taxproduct.cgi?_type=select&id=<% $name %>&taxproductnum='+document.getElementById('<% $name %>').value, 1000, 400, 'tax_product_popup'), CAPTION, 'Select product', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK); return false;"><% $opt{'postfix'} %>
+ onClick = "<% $onclick %>"><% $opt{'postfix'} %>
<%init>
my %opt = @_;
@@ -23,4 +23,6 @@ unless ( $description || ! $value ) {
if $part_pkg_taxproduct;
}
+my $onclick = $opt{onclick} || "overlib( OLiframeContent('${p}/browse/part_pkg_taxproduct.cgi?_type=select&id=${name}&taxproductnum='+document.getElementById('${name}').value, 1000, 400, 'tax_product_popup'), CAPTION, 'Select product', STICKY, AUTOSTATUSCAP, MIDX, 0, MIDY, 0, DRAGGABLE, CLOSECLICK); return false;";
+
</%init>