]> git.koha-community.org Git - koha.git/commit
Bug 14266: Trim the email address in the pl script
authorJonathan Druart <jonathan.druart@koha-community.org>
Tue, 26 May 2015 11:05:51 +0000 (13:05 +0200)
committerMason James <mtj@kohaaloha.com>
Sat, 25 Jul 2015 04:43:53 +0000 (16:43 +1200)
commit8a9184c4bc0de4866f7bdf7f945133d71c868f5b
tree17a7b1689c9b619640a05f12a4eac703adf75d0f
parent69a74bb8806ff78ef6a086bc71b831e15c5974bb
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@gmail.com>
Test output compliant with expected test plan outcome.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt
opac/opac-shareshelf.pl