[Koha-bugs] [Bug 32477] Hiding batch item modification columns isn't remembered correctly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Nov 23 09:18:27 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32477
--- Comment #4 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
(In reply to Emmi Takkinen from comment #3)
> Apparently this happens because columns still have attribute
> "checked=checked" even if class "selected" is removed. Then we do this:
>
> if ($(this).prop("checked")) {
> showColumn(num);
> } else {
> hideColumn(num);
> }
>
> So solution could simply be that we need to set checked attributed as false,
> not just remove class "selected".
Hmm, I should have mentioned here that this is just part of problem. Another
one is that function "hideColumns" hides wrong columns when tool is launched
again. Which is weird, code looks OK to me.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list