]> 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:20 +0000 (07:19 +1300)
commit8a2c11620d29b5f187d2e1fe343dc9343de4a3da
treeb53071300db2c669ad2039fd6059fd2924f81eee
parent66621d923c72191e8cf51ee245ee000afe79d27e
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