diff options
author | jeff <jeff> | 2008-08-28 21:32:26 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-08-28 21:32:26 +0000 |
commit | 42132c9a86d36d7fefa7ba5f058f764ba6e7ad5b (patch) | |
tree | cc02b304e583dd1a10d09f300cc15c56e5863a65 /httemplate/elements/select-taxproduct.html | |
parent | f0d52fc82b138598228c401d99b56e88366c6945 (diff) |
taxproduct selection for one time charges
Diffstat (limited to 'httemplate/elements/select-taxproduct.html')
-rw-r--r-- | httemplate/elements/select-taxproduct.html | 4 |
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> |