Commit graph

11 commits

Author SHA1 Message Date
Garry Collum
1eb9154b73 Bug #2974 Adding category code to BorrowerMandatoryField produced a "The following fields are mandatory: categorycode"
If you made a column that is implemented by a select box mandatory in
BorrowerMandatoryField, Members.js would throw an error on the first
element.  The original intent of the function was probably to catch
the first option for a drop-down list such as "Salutation" where the
text is blank.  Added code to check for an empty string in the first
element.

You can test this by making salutation (title) mandatory.

Also fixed some typos in some of the comments.  Why?  Because I'm a Librarian.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-05-01 16:47:09 -05:00
Joe Atzberger
bbe018173d members.js - purely whitespace edit (I was debugging the conditionals).
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 19:12:38 -06:00
Joe Atzberger
9e333ab077 members.js - return false when validation fails.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 16:37:28 -06:00
Ryan Higgins
f4811762d0 cleanup in memberentry,categories.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 08:19:07 -06:00
Paul POULAIN
57f25c3dad moving _( function to header
This function is used to extract strings for translator tool. It must be available everywhere, moving it to head-close.inc
& removing it elsewhere

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:39:23 -05:00
0966dca9e2 Corrections to memberentrygen.tmpl and members.js, experimental reformatting of moremember.tmpl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-27 16:32:46 -05:00
Paul POULAIN
0e3b44e3f8 Bug fixing : Editing broken javascript
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-24 15:31:37 -05:00
Paul POULAIN
fa87c4d8ff BUGfix : return correctly the form checking
The check_form_borrowers showed an error in the user entry if needed,
but validated it anyway

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-20 15:31:06 -05:00
Henri-Damien LAURENT
24ac2d0313 Adding error management for memberentry.pl
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-09-18 15:05:22 -05:00
Joshua Ferraro
27d45375d0 moving calendar to lib
Output.pm: sanatizing variable names
ran  perl -pi~ -e 's/\/includes\/calendar\//\/lib\/calendar\//' * in every staff template dir

Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:30:49 -05:00
Joshua Ferraro
d08387dd28 first go at moving templates to a modules/ dir
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-23 21:11:27 -05:00
Renamed from koha-tmpl/intranet-tmpl/prog/en/includes/javascript/members.js (Browse further)