Bug 5449: JSON malformed in Koha - Blocker with jQuery 1.4.x
[koha-equinox.git] / tools / stage-marc-import.pl
index b113332..54ebfb9 100755 (executable)
@@ -108,7 +108,7 @@ if ($completedJobID) {
 
             my $reply = CGI->new("");
             print $reply->header(-type => 'text/html');
-            print "{ jobID: '$jobID' }";
+            print '{"jobID":"' . $jobID . '"}';
             exit 0;
         } elsif (defined $pid) {
             # child