use warnings;
# standard or CPAN modules used
-use CGI;
+use CGI qw ( -utf8 );
use CGI::Cookie;
# Koha modules used
my $completedJobID = $input->param('completedJobID');
my ($template, $loggedinuser, $cookie)
- = get_template_and_user({template_name => "test/progressbar.tmpl",
+ = get_template_and_user({template_name => "test/progressbar.tt",
query => $input,
type => "intranet",
debug => 1,
my $reply = CGI->new("");
print $reply->header(-type => 'text/html');
- print "{ jobID: '$jobID' }";
+ print '{"jobID":"' . $jobID . '"}';
exit 0;
} elsif (defined $pid) {
# if we get here, we're a child that has detached