View | Details | Raw Unified | Return to bug 2324
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +2 lines)
Lines 38-43 Link Here
38
<script type="text/javascript">
38
<script type="text/javascript">
39
//<![CDATA[
39
//<![CDATA[
40
var MSG_CONFIRM_CLEAN = _("Clear all reservoir records staged in this batch?  This cannot be undone.");
40
var MSG_CONFIRM_CLEAN = _("Clear all reservoir records staged in this batch?  This cannot be undone.");
41
var MSG_CONFIRM_UNDO_IMPORT = _("Are you sure you want to undo the import of this batch into the catalog?");
41
42
42
$(document).ready(function(){
43
$(document).ready(function(){
43
  $("#staged-record-matching-rules select").change(function(){
44
  $("#staged-record-matching-rules select").change(function(){
Lines 363-369 $(document).ready(function(){ Link Here
363
    <input type="hidden" name="runinbackground" value="" />
364
    <input type="hidden" name="runinbackground" value="" />
364
    <input type="hidden" name="completedJobID" value="" />
365
    <input type="hidden" name="completedJobID" value="" />
365
    <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
366
    <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
366
    <fieldset class="action"><input type="submit" class="button" name="mainformsubmit" value="Undo import into catalog" onclick="return submitBackgroundJob(this.form);" /></fieldset>
367
    <fieldset class="action"><input type="submit" class="button" name="mainformsubmit" value="Undo import into catalog" onclick="return confirm(MSG_CONFIRM_UNDO_IMPORT) && submitBackgroundJob(this.form);" /></fieldset>
367
  </form>
368
  </form>
368
  <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
369
  <div id="jobpanel"><div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
369
     <div id="jobfailed"></div></div>
370
     <div id="jobfailed"></div></div>
370
- 

Return to bug 2324