[Koha-bugs] [Bug 35725] ILL - Generic master form does not keep patron and cardnumber when changing type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 8 17:56:19 CET 2024


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

--- Comment #3 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 160650
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=160650&action=edit
Bug 35725: Fix 'Create' button enabled/disabled

The previous patch fixed what it stated, but uncovered a new issue:
If you input a cardnumber + a branchcode and then change type, the 'Create'
button becomes disabled
This happens because the trigger for it is on change only, the current patch
updates this to also happen
on DOMContentLoaded.

Test plan:
1) Apply previous patch
2) Do steps from previous patch plan up to and including step 5)
3) Click 'Create'. Notice it doesn't submit (nothing happens).
4) Apply this patch and do a hard reload (clearing browser js cache)
5) Repeat steps 1) to 3). Notice it now submits correctly.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list