|
Lines 131-137
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 131 |
} |
131 |
} |
| 132 |
} |
132 |
} |
| 133 |
if( $(inputs[1]).hasClass('framework_plugin') ) { |
133 |
if( $(inputs[1]).hasClass('framework_plugin') ) { |
| 134 |
var oldcontrol= original.getElementsByTagName('input')[1]; |
134 |
var olddiv= original.getElementsByTagName('div')[i]; |
|
|
135 |
var oldcontrol= olddiv.getElementsByTagName('input')[1]; |
| 135 |
AddEventHandlers( oldcontrol,inputs[1],id_input ); |
136 |
AddEventHandlers( oldcontrol,inputs[1],id_input ); |
| 136 |
} |
137 |
} |
| 137 |
|
138 |
|
|
Lines 177-183
function CloneField(index, hideMarc, advancedMARCEditor) {
Link Here
|
| 177 |
// 2 possibilities : |
178 |
// 2 possibilities : |
| 178 |
try{ |
179 |
try{ |
| 179 |
if( $(buttonDot).hasClass('framework_plugin') ) { |
180 |
if( $(buttonDot).hasClass('framework_plugin') ) { |
| 180 |
var oldcontrol= original.getElementsByTagName('a')[0]; |
181 |
var olddiv= original.getElementsByTagName('div')[i]; |
|
|
182 |
var oldcontrol= olddiv.getElementsByTagName('a')[0]; |
| 181 |
AddEventHandlers(oldcontrol,buttonDot,id_input); |
183 |
AddEventHandlers(oldcontrol,buttonDot,id_input); |
| 182 |
} else { |
184 |
} else { |
| 183 |
if(buttonDotOnClick.match('Dopop')) { // -2- It's a auth value |
185 |
if(buttonDotOnClick.match('Dopop')) { // -2- It's a auth value |
| 184 |
- |
|
|