X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_pkg.cgi;h=cda1897568dd816cf04ad25584bc5a26fdbfb698;hp=cb74bed665ab3c838e79a344bdf9d191c26ff7e2;hb=9cfa3648407dc2333fb549460fed278311c5393a;hpb=68bbe026eecdd3deb072496993fd26e208f9b571 diff --git a/httemplate/browse/part_pkg.cgi b/httemplate/browse/part_pkg.cgi index cb74bed66..cda189756 100755 --- a/httemplate/browse/part_pkg.cgi +++ b/httemplate/browse/part_pkg.cgi @@ -38,6 +38,9 @@ $().ready(function() { $('.taxproduct_desc').tooltip({}); }); +$(document).ready(function(){ + $(this).scrollTop(0); +}); <%init> @@ -801,8 +804,18 @@ if ( $acl_edit_bulk ) { $html_form = qq!
!; $html_foot = include('/search/elements/checkbox-foot.html', actions => [ - { submit => 'edit report classes', }, - { label => 'change customer packages', + { label => 'edit packages', + onclick=> include('/elements/popup_link_onclick.html', + 'label' => 'edit', + 'js_action' => qq{ + '${p}edit/bulk-part_pkg.html?' + \$('input[name=pkgpart]').serialize() + }, + 'actionlabel' => 'Bulk edit packages', + 'width' => 960, + 'height' => 420, + ) + }, + { label => 'change customers packages', onclick=> include('/elements/popup_link_onclick.html', 'label' => 'change', 'js_action' => qq{