|
Lines 330-336
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 330 |
// do nothing if label does not exist. |
330 |
// do nothing if label does not exist. |
| 331 |
} |
331 |
} |
| 332 |
|
332 |
|
| 333 |
// setting its '+' and '-' buttons |
333 |
// setting its '+', '-' and 'buttonDot' buttons |
| 334 |
try { |
334 |
try { |
| 335 |
var anchors = divs[i].getElementsByTagName("a"); |
335 |
var anchors = divs[i].getElementsByTagName("a"); |
| 336 |
for (var j = 0; j < anchors.length; j++) { |
336 |
for (var j = 0; j < anchors.length; j++) { |
|
Lines 352-357
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 352 |
divs[i].getAttribute("id") + |
352 |
divs[i].getAttribute("id") + |
| 353 |
"'); return false;" |
353 |
"'); return false;" |
| 354 |
); |
354 |
); |
|
|
355 |
} else if ( |
| 356 |
anchors[j].getAttribute("id").match(/^buttonDot/) |
| 357 |
) { |
| 358 |
anchors[j].setAttribute( |
| 359 |
"id", |
| 360 |
anchors[j].getAttribute("id") + new_key |
| 361 |
); |
| 355 |
} |
362 |
} |
| 356 |
} |
363 |
} |
| 357 |
} catch (e) { |
364 |
} catch (e) { |
| 358 |
- |
|
|