Lines 74-80
Link Here
|
74 |
<h1>MARC staging</h1> |
74 |
<h1>MARC staging</h1> |
75 |
<div class="dialog message"> |
75 |
<div class="dialog message"> |
76 |
<p>The job has been enqueued! It will be processed as soon as possible.</p> |
76 |
<p>The job has been enqueued! It will be processed as soon as possible.</p> |
77 |
<p><a href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a> |
77 |
<p><a class="job_details" href="/cgi-bin/koha/admin/background_jobs.pl?op=view&id=[% job_id | uri %]" title="View detail of the enqueued job">View detail of the enqueued job</a> |
78 |
</div> |
78 |
</div> |
79 |
[% ELSE %] |
79 |
[% ELSE %] |
80 |
<h1>Stage MARC records for import</h1> |
80 |
<h1>Stage MARC records for import</h1> |
Lines 421-426
Link Here
|
421 |
alert(_("An error occurred")+"\n\n"+((error.responseJSON && error.responseJSON.error) || error.responseText || error.statusText)); |
421 |
alert(_("An error occurred")+"\n\n"+((error.responseJSON && error.responseJSON.error) || error.responseText || error.statusText)); |
422 |
}) |
422 |
}) |
423 |
}); |
423 |
}); |
|
|
424 |
[% IF job_enqueued %] |
425 |
setTimeout( |
426 |
function() { window.location.href=$('a.job_details').attr('href'); }, |
427 |
5000, // 5 secs to read |
428 |
); |
429 |
[% END %] |
424 |
}); |
430 |
}); |
425 |
|
431 |
|
426 |
function StartUpload() { |
432 |
function StartUpload() { |
427 |
- |
|
|