]> git.koha-community.org Git - koha.git/commit
Bug 9284 - JavaScript should follow rules recommended by JSHint
authorOwen Leonard <oleonard@myacpl.org>
Thu, 13 Dec 2012 20:56:21 +0000 (15:56 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 1 Jan 2013 18:19:39 +0000 (07:19 +1300)
commit05ff289a3de9426569a12c330d66e91816d1f537
treed548006cd0326c7c69b3934ab56b706873813457
parentc88cbf7695ea52e7216bdafb78082b5dcbdcab16
Bug 9284 - JavaScript should follow rules recommended by JSHint

Coding style corrections to members.js:

- Mixed tab/space indentation converted to spaces.
- Converted "!=" and "==" to "!==" and "===" for comparisons with ''.
- Adding missing semicolons.

To test, create or edit a patron and confirm that validation hasn't been
broken by the changes to members.js: Invalid date, empty required
fields, guarantor popup, restricted-until field display, etc.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/js/members.js