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

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |ommunity.org
             Status|Signed Off                  |Failed QA

--- Comment #11 from Jonathan Druart <[email protected]> 
---
Aleisha, the last case is wrong, maxlength_cardnumber is evaluated false and
the message will be "Card number must not be more than  characters". That
should not be possible (because C4::Members::get_cardnumber_length returns
max=16), but the code does not make sense as it is.

Moreover you should not use the keypress event but change, that way a paste or
delete in the input will update the message as well.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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