Bugzilla – Attachment 15106 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.49 KB, created by
Galen Charlton
on 2013-02-06 15:32:21 UTC
(
hide
)
Description:
Bug 9529 - Adding a patron shows javascript on screen under login section
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2013-02-06 15:32:21 UTC
Size:
1.49 KB
patch
obsolete
>From b0bf08e29c961900881c851b8ee992adf0b05b9f 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> >--- > .../prog/en/modules/members/memberentrygen.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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.2.5
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