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

(-)a/koha-tmpl/intranet-tmpl/prog/js/marc_modification_templates.js (-5 / +2 lines)
Lines 256-266 function editAction( mmta_id, ordering, action, field_number, from_field, from_s Link Here
256
    document.getElementById('to_field').value = to_field;
256
    document.getElementById('to_field').value = to_field;
257
    document.getElementById('to_subfield').value = to_subfield;
257
    document.getElementById('to_subfield').value = to_subfield;
258
    if ( to_regex_search == '' && to_regex_replace == '' && to_regex_modifiers == '' ) {
258
    if ( to_regex_search == '' && to_regex_replace == '' && to_regex_modifiers == '' ) {
259
        document.getElementById('to_field_regex').checked = false;
259
        $('#to_field_regex').prop('checked', false).change();
260
        document.getElementById('to_field_regex').onchange();
261
    } else {
260
    } else {
262
        document.getElementById('to_field_regex').checked = true;
261
        $('#to_field_regex').prop('checked', true).change();
263
        document.getElementById('to_field_regex').onchange();
264
        $("#to_regex_search").val(to_regex_search);
262
        $("#to_regex_search").val(to_regex_search);
265
        $("#to_regex_replace").val(to_regex_replace);
263
        $("#to_regex_replace").val(to_regex_replace);
266
        $("#to_regex_modifiers").val(to_regex_modifiers);
264
        $("#to_regex_modifiers").val(to_regex_modifiers);
267
- 

Return to bug 21819