[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
Thu May 28 21:16:11 CEST 2015


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

Indranil Das Gupta <indradg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39509|0                           |1
        is obsolete|                            |

--- Comment #8 from Indranil Das Gupta <indradg at gmail.com> ---
Created attachment 39647
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39647&action=edit
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.

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


More information about the Koha-bugs mailing list