BUGFIX for unimarc 4XX plugin
We don't have to count parentNode, but grand-parentNode Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
f8db0248f5
commit
e4846dc09a
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
// browse all its subfields
|
||||
|
||||
var subfields = whichfield.parentNode.getElementsByTagName('input');
|
||||
var subfields = whichfield.parentNode.parentNode.getElementsByTagName('input');
|
||||
|
||||
var re = /^tag_\d*_code_/;
|
||||
for(var i=0, len = subfields.length ; i< len ; i++) {
|
||||
|
|
Loading…
Reference in a new issue