Bugzilla – Attachment 15104 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.48 KB, created by
Owen Leonard
on 2013-02-06 15:08:03 UTC
(
hide
)
Description:
Bug 9529 - Adding a patron shows javascript on screen under login section
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-06 15:08:03 UTC
Size:
1.48 KB
patch
obsolete
>From 6c8821b54ed06eaa59a3eacbb93a8f302783b853 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 >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../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.9.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