X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fbrowse%2Fpart_pkg-fcc.html;h=69e7d8f31678315b13b52d7b189295e583e22c96;hb=46d8aa8b9d1fc12af33bb8b517301789f871d864;hp=14dfcba08e71aa22bfbfd32a956c909da779478f;hpb=7c370a4579d1ed8b81dba2fb5fae9978b283b49e;p=freeside.git diff --git a/httemplate/browse/part_pkg-fcc.html b/httemplate/browse/part_pkg-fcc.html index 14dfcba08..69e7d8f31 100755 --- a/httemplate/browse/part_pkg-fcc.html +++ b/httemplate/browse/part_pkg-fcc.html @@ -7,8 +7,7 @@ 'disableable' => 1, 'disabled_statuspos' => 4, 'agent_virt' => 1, - 'agent_null_right' => [ $edit, $edit_global ], - 'agent_null_right_link' => $edit_global, + 'agent_null_right' => $edit_global, 'agent_pos' => 3, 'query' => { 'select' => $select, @@ -95,8 +94,6 @@ my $select = join(',', my $addl_from = FS::Report::FCC_477::join_optionnames(@optionnames); -$cgi->param('classnum', $classnum) if length($classnum); - my $link = [ $p.'edit/part_pkg.cgi?', 'pkgpart' ]; my @header = ( '#', 'Package', 'Comment' ); @@ -183,9 +180,11 @@ if ( $cgi->param('redirect') ) { my $html_init = include('/elements/init_overlib.html') . include('/elements/input-fcc_options.html', js_only => 1) . - include('.style'); + include('.style') . + include('.script'); -my $html_form = qq!
!; +# restore this only after creating $html_form +$cgi->param('classnum', $classnum) if length($classnum); + +my $html_foot = ''; my @menubar = ( 'Package definitions' => $p.'browse/part_pkg.cgi' ); @@ -224,3 +226,17 @@ my @menubar = } %def> +<%def .script> + +%def>