]> 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)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 28 Dec 2012 00:02:07 +0000 (19:02 -0500)
commit04d982571774f1a0fcd0ad30705163ba0218549d
treed26e2d64b735ac9b45c501103a13a263f6695c2b
parentc3bf2b4a3c04d43a3bb3c2e0571d591bc5060341
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>
koha-tmpl/intranet-tmpl/prog/en/js/members.js