X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fcommon.pl;h=cba9e2244760c2675f4979fad1c42d2a04d15696;hb=16f131c37eac3667c2e789ab94ab2618fd8f41ed;hp=9756f92160da45ddac71718e25ebf5b9fad1ee59;hpb=fd8bde53d5f22fe6923a904682dc25f2b3af8a3d;p=kivitendo-erp.git diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 9756f9216..cba9e2244 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -11,10 +11,9 @@ use SL::Common; use SL::DB::Helper::Mappings; -use SL::DBUtils; +use SL::DBUtils qw(do_query); use SL::Form; -use SL::MoreCommon; -use SL::Helper::Flash; +use SL::MoreCommon qw(restore_form save_form); use strict; @@ -386,6 +385,7 @@ sub show_history { $form->{title} = $locale->text("History"); $form->header(no_layout => 1); + my $callback = build_std_url(qw(action longdescription trans_id_type input_name)); my $restriction; if ( $form->{trans_id_type} eq 'glid' ) { $restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' ) "; @@ -400,6 +400,7 @@ sub show_history { "SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"), uc($sort) => 1, uc($sort)."BY" => $sortby, + callback => $callback, } ); $dbh->disconnect();