[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
Fri May 29 18:01:29 CEST 2015


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

--- Comment #9 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 39701
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39701&action=edit
[PASSED QA] Bug 14266: Trim the email address in the pl script

The original concern of bug 14266 was to provide a compatibility for
<IE9.
But actually we don't need to trim the email address template side.
It will even better to trim it in the perl script, so that the email
will be trimed even if JS is disabled.

Test plan:
1/ Share a list and does not provide any email address
2/ Submit
=> The form is not submited, no alert/message is displayed (same as
before this patch).
3/ Share a list and provide an email address with spaces before and
after
4/ Submit
=> You should receive the email

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg at gmail.com>
Test output compliant with expected test plan outcome.

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list