|
Lines 129-134
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 129 |
inputs[j].value = ""; |
129 |
inputs[j].value = ""; |
| 130 |
} |
130 |
} |
| 131 |
} |
131 |
} |
|
|
132 |
var textareas = divs[i].getElementsByTagName('textarea'); |
| 133 |
for( j = 0 ; j < textareas.length ; j++ ) { |
| 134 |
if(textareas[j].getAttribute("id") && textareas[j].getAttribute("id").match(/^tag_/) ){ |
| 135 |
textareas[j].value = ""; |
| 136 |
} |
| 137 |
} |
| 132 |
|
138 |
|
| 133 |
inputs[0].setAttribute('id',inputs[0].getAttribute('id')+new_key); |
139 |
inputs[0].setAttribute('id',inputs[0].getAttribute('id')+new_key); |
| 134 |
inputs[0].setAttribute('name',inputs[0].getAttribute('name')+new_key); |
140 |
inputs[0].setAttribute('name',inputs[0].getAttribute('name')+new_key); |
| 135 |
- |
|
|