[Koha-bugs] [Bug 14265] Use $.trim instead of trim() in admin/categorie.tt
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 25 15:13:40 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14265
Indranil Das Gupta <indradg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #39468|0 |1
is obsolete| |
--- Comment #2 from Indranil Das Gupta <indradg at gmail.com> ---
Created attachment 39486
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39486&action=edit
Bug 14265 - Use $.trim instead of trim() in admin/categorie.tt
This patch replaces trim() with $.trim() in admin/categorie.tt, as
$.trim() is more cross-platform (ie it is supported in "< IE9").
_TEST PLAN_
Before applying patch:
0) Use IE 8 or use Document Mode 8 in a newer IE using F12 Developer Tools
1) Go to Administration > Patron categories
2) Click "Edit" next to a category
3) Click "Save" at the bottom
4) Note the form doesn't submit (you can also notice the error in the
console log)
Apply the patch:
5) Hold down shift + refresh the page
6) Click "Save" at the bottom"
7) Note that the form does submit and there are no errors reported
Signed-off-by: Indranil Das Gupta <indradg at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list