]> git.koha-community.org Git - koha.git/commit
Bug 10861: (follow-up) various refactoring
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 11 Dec 2013 18:06:15 +0000 (19:06 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 12 Mar 2014 02:17:34 +0000 (02:17 +0000)
commit3d938ffc823b0193fc61822ffeb08cb127c6682e
tree75e0b7c91725e09d0953186b11dc185fc7f7d904
parentc898f23f139866e2adb1fa46422f5cf32c5a1328
Bug 10861: (follow-up) various refactoring

This patch refactors the previous code and moves the logic from the pl
to a new routine.

Same test plan as previous patch.

/!\ new unit test filename.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Bug 10861: Reintroduced the cardnumber length check (client side)

Previous patches has removed the pattern attribute of the input, it was
not needed. This patch reintroduces it. It will only work for new
browser version.

Moreover, it manages with the ',XX' format (see UT).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Squashed the last two follow-ups. The pattern test did not work fully for me
in Firefox 26 (very recent). But I see the message when I clear the field.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
members/memberentry.pl
t/Members/cardnumber.t [new file with mode: 0644]
t/Members/checkcardnumber.t [deleted file]