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

(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging.js (-1 / +6 lines)
Lines 291-296 function CloneSubfield(index, advancedMARCEditor){ Link Here
291
        id_input = inputs[i].getAttribute('id')+new_key;
291
        id_input = inputs[i].getAttribute('id')+new_key;
292
        inputs[i].setAttribute('id',id_input);
292
        inputs[i].setAttribute('id',id_input);
293
        inputs[i].setAttribute('name',inputs[i].getAttribute('name')+new_key);
293
        inputs[i].setAttribute('name',inputs[i].getAttribute('name')+new_key);
294
        if(inputs[i].getAttribute("id") && inputs[i].getAttribute("id").match(/^tag_/) ){
295
            inputs[i].value = "";
296
        }
294
        linkid = id_input;
297
        linkid = id_input;
295
    }
298
    }
296
299
Lines 312-317 function CloneSubfield(index, advancedMARCEditor){ Link Here
312
        id_input = textareas[i].getAttribute('id')+new_key;
315
        id_input = textareas[i].getAttribute('id')+new_key;
313
        textareas[i].setAttribute('id',textareas[i].getAttribute('id')+new_key);
316
        textareas[i].setAttribute('id',textareas[i].getAttribute('id')+new_key);
314
        textareas[i].setAttribute('name',textareas[i].getAttribute('name')+new_key);
317
        textareas[i].setAttribute('name',textareas[i].getAttribute('name')+new_key);
318
        if(textareas[i].getAttribute("id") && textareas[i].getAttribute("id").match(/^tag_/) ){
319
            textareas[i].value = "";
320
        }
315
        linkid = id_input;
321
        linkid = id_input;
316
    }
322
    }
317
323
318
- 

Return to bug 17725