Fix, OPs do not have ancestor tables.
This commit is contained in:
parent
676d952c45
commit
661c2871cb
@ -2432,7 +2432,7 @@
|
|||||||
_ref = $$('input', table);
|
_ref = $$('input', table);
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
inlined = _ref[_i];
|
inlined = _ref[_i];
|
||||||
if (hidden = $.id(inlined.name)) {
|
if (!(hidden = $.id(inlined.name)).classList.contains('op')) {
|
||||||
$.x('ancestor::table[1]', hidden).hidden = false;
|
$.x('ancestor::table[1]', hidden).hidden = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1816,7 +1816,7 @@ quoteInline =
|
|||||||
#select the corresponding table or loading td
|
#select the corresponding table or loading td
|
||||||
table = $.x "following::*[@id='i#{id}']", q
|
table = $.x "following::*[@id='i#{id}']", q
|
||||||
for inlined in $$ 'input', table
|
for inlined in $$ 'input', table
|
||||||
if hidden = $.id inlined.name
|
unless (hidden = $.id inlined.name).classList.contains 'op'
|
||||||
$.x('ancestor::table[1]', hidden).hidden = false
|
$.x('ancestor::table[1]', hidden).hidden = false
|
||||||
$.rm table
|
$.rm table
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user