|
Lines 110-115
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 110 |
inputs[j].value = ""; |
110 |
inputs[j].value = ""; |
| 111 |
} |
111 |
} |
| 112 |
} |
112 |
} |
|
|
113 |
var textareas = divs[i].getElementsByTagName('textarea'); |
| 114 |
for( j = 0 ; j < textareas.length ; j++ ) { |
| 115 |
if(textareas[j].getAttribute("id") && textareas[j].getAttribute("id").match(/^tag_/) ){ |
| 116 |
textareas[j].value = ""; |
| 117 |
} |
| 118 |
} |
| 113 |
|
119 |
|
| 114 |
inputs[0].setAttribute('id',inputs[0].getAttribute('id')+new_key); |
120 |
inputs[0].setAttribute('id',inputs[0].getAttribute('id')+new_key); |
| 115 |
inputs[0].setAttribute('name',inputs[0].getAttribute('name')+new_key); |
121 |
inputs[0].setAttribute('name',inputs[0].getAttribute('name')+new_key); |
| 116 |
- |
|
|