Lines 585-591
Link Here
|
585 |
checked = ""; |
585 |
checked = ""; |
586 |
}); |
586 |
}); |
587 |
if( !any_checked ){ checked = 'checked="checked"'; } |
587 |
if( !any_checked ){ checked = 'checked="checked"'; } |
588 |
$('td:eq(4) ul', nRow).prepend('<li><label><input type="radio" data-import_record_id="'+aData['import_record_id']+'" class="chosen" name="import_record_id_'+aData['import_record_id']+'_match" value="none" ' + checked + disabled + ' > Ignore matches</label></li>'); |
588 |
$('td:eq(4) ul', nRow).prepend('<li><label><input type="radio" data-import_record_id="'+aData['import_record_id']+'" class="chosen" name="import_record_id_'+aData['import_record_id']+'_match" value="none" ' + checked + disabled + ' > '+_("Ignore matches")+'</label></li>'); |
589 |
$('td:eq(5) ul', nRow).prepend('<li> </li>'); |
589 |
$('td:eq(5) ul', nRow).prepend('<li> </li>'); |
590 |
} |
590 |
} |
591 |
if (aData['diff_url']) { |
591 |
if (aData['diff_url']) { |
Lines 624-630
Link Here
|
624 |
url: '/api/v1/import/[% import_batch_id | html %]/records/'+$(this).data('import_record_id')+'/matches/chosen', |
624 |
url: '/api/v1/import/[% import_batch_id | html %]/records/'+$(this).data('import_record_id')+'/matches/chosen', |
625 |
method: apimethod, |
625 |
method: apimethod, |
626 |
data: apidata |
626 |
data: apidata |
627 |
}).fail(function(){ alert("Unable to update match choices"); return false; }); |
627 |
}).fail(function(){ alert(_("Unable to update match choices")); return false; }); |
628 |
}); |
628 |
}); |
629 |
|
629 |
|
630 |
$("body").on("click", ".previewMARC", function(e) { |
630 |
$("body").on("click", ".previewMARC", function(e) { |
631 |
- |
|
|