Bugzilla – Attachment 15130 Details for
Bug 9529
Adding a patron shows javascript on screen under login section
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9529 - Adding a patron shows javascript on screen under login section
Bug-9529---Adding-a-patron-shows-javascript-on-scr.patch (text/plain), 1.56 KB, created by
Jonathan Druart
on 2013-02-07 10:56:17 UTC
(
hide
)
Description:
Bug 9529 - Adding a patron shows javascript on screen under login section
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-02-07 10:56:17 UTC
Size:
1.56 KB
patch
obsolete
>From acd3527864201d06afa0d0780492c23260a1a86b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 6 Feb 2013 09:59:16 -0500 >Subject: [PATCH] Bug 9529 - Adding a patron shows javascript on screen under > login section > >A typo in my patch for Bug 9265 (HTML5 switch) left an extra quotation >mark in a <script> tag on the patron entry form, causing JavaScript >code to be output as text instead of interpreted. This patch corrects >it. > >To test, apply the patch, enable EnhancedMessagingPreferences, and load >the patron entry form. You should see no JavaScript on screen around >the 'Patron messaging preferences' fieldset. > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index f23b6bc..5ceb365 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1385,7 +1385,7 @@ > <!-- handle changing prefs if creating new patron and changing > the patron category > --> >- <script" type="text/javascript">//<![CDATA[ >+ <script type="text/javascript">//<![CDATA[ > $(document).ready(function(){ > var message_prefs_dirty = false; > $('#memberentry_messaging_prefs > *').change(function() { >-- >1.7.10.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 9529
:
15104
|
15106
| 15130