[Koha-bugs] [Bug 14266] Replace trim() with $.trim() in opac-shareshelf.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 25 06:12:47 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14266

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 39470
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39470&action=edit
Replace trim() with $.trim() in opac-shareshelf.tt

This patch replaces trim() with $.trim() which is supported
in versions of IE older than IE9.

_TEST PLAN_

Before applying patch:

0) Use IE 8 or Document Mode 8 in a newer IE using F12 Developer Tools
1) Set OpacAllowSharingPrivateLists to "Allow" in Global System Preferences
2) Create a private list in the OPAC
3) Add a record to the private list
4) Click "Share" or "Share list" on one of the list screens
5) Type in an email address and click "Send"
6) Note an error preventing the submission of the page (you can
also see this in the console log)

Apply the patch:

7) Hold shift + refresh the browser to update any Javascript cache
8) Try to "Share" the list again
9) Note that the form submit after clicking "Send" and
that there are no errors

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list