RT# 81706 Remove redundant loads of jquery.js
[freeside.git] / httemplate / browse / part_pkg_taxproduct / suretax.html
index 8f237f3..91f3737 100755 (executable)
@@ -16,7 +16,6 @@
   'nohtmlheader'   => 1,
   'disable_total'  => 1,
 &>
-<script src="<% $fsurl %>elements/jquery.js"></script>
 <script>
 var category_labels = <% encode_json(\%category_labels) %>;
 $().ready(function() {
@@ -91,6 +90,7 @@ function select_taxproduct(taxproductnum, description) {
   </table>
   <input type="button" id="new_taxproduct_submit" disabled=1 value="Add">
 </FORM>
+<& /elements/footer-popup.html &>
 <%shared>
 # populate dropdown
 
@@ -124,7 +124,7 @@ foreach my $row ( qsearch({
 &>
 <& /elements/hidden.html,
   field       => 'id',
-  curr_value  => $cgi->param('id'),
+  curr_value  => scalar($cgi->param('id')),
 &>
 </%def>
 <%init>