https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40092

Andrii Nugged <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Andrii Nugged <[email protected]> ---
We're preparing to upgrade our production to 25.05, so we've been doing
thorough beta testing with librarians with our Finnish libraries. During this
testing, we discovered that the main MARC records interface is also affected by
the same issue. We found why, prepared a fix, and post-checked with librarians
that this bug is gone.

The root cause is in the JavaScript function `AreMandatoriesNotOk`, which uses
hardcoded rewriting of classes, so it removed recently announced
`framework_plugin` calss:

    elt.setAttribute('class',
        'input_marceditor noEnterSubmit '
        + notFilledClass);


so our solution is to expand hardcoded line with the class:

    elt.setAttribute('class',
        'input_marceditor noEnterSubmit framework_plugin '
        + notFilledClass);

or, better yet, or, if that does not creates any other border cases, completely
replace the hardcoded class assignment with a more flexible method:

    elt.classList.add(notFilledClass);


Code below.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to