[Koha-bugs] [Bug 15844] Correct JSHint errors in staff-global.js
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 17:14:11 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15844
Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #48188|0 |1
is obsolete| |
--- Comment #2 from Héctor Eduardo Castro Avalos <hector.hecaxmmx at gmail.com> ---
Created attachment 48192
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48192&action=edit
Bug 15844 - Correct JSHint errors in staff-global.js
This patch corrects minor errors in staff-global.js according to
warnings raised by JSHint.
To test, apply the patch and run JSHint on staff-global.js. No warnings
should be raised.
To confirm that the behavior of the JS is not changed, clear your
browser cache if necessary and:
- Confirm that the "Help" link opens the help window.
- Confirm that audio alerts work with local and remote sound files
- Confirm that the format() method is still working correctly by, for
instance, opening the detail page for a bibliographic record with
multiple items and choosing 'Edit -> Delete record' from the menu. The
error message should read like "2 item(s) are attached to this
record..."
Signed-off-by: Hector Castro <hector.hecaxmmx at gmail.com>
Works as described. No errors with JSHint CLI (6 errors fixed)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list