Bugzilla – Attachment 39470 Details for
Bug 14266
Replace trim() with $.trim() in opac-shareshelf.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Replace trim() with $.trim() in opac-shareshelf.tt
Replace-trim-with-trim-in-opac-shareshelftt.patch (text/plain), 1.78 KB, created by
David Cook
on 2015-05-25 04:12:47 UTC
(
hide
)
Description:
Replace trim() with $.trim() in opac-shareshelf.tt
Filename:
MIME Type:
Creator:
David Cook
Created:
2015-05-25 04:12:47 UTC
Size:
1.78 KB
patch
obsolete
>From 14166c94f3b520370ff00b939926fca32a4bcd4e Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 25 May 2015 14:07:27 +1000 >Subject: [PATCH] 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 > >http://bugs.koha-community.org/show_bug.cgi?id=14266 >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >index a02ebad..f40024f 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt >@@ -44,7 +44,7 @@ > > [% ELSIF op=='invite' %] > <div id="invite"> >- <form method="post" onsubmit="return $('#invite_address').val().trim()!='';"> >+ <form method="post" onsubmit="return $.trim($('#invite_address').val())!='';"> > <fieldset class="rows"> > <ol> > <input type="hidden" name="op" value="conf_invite"/> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14266
:
39470
|
39497
|
39509
|
39647
|
39701