Bugzilla – Attachment 5167 Details for
Bug 6791
editing list with apostrophe loses text
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Fix for Bug 6791 - editing list with apostrophe loses text
SIGNED-OFF-Fix-for-Bug-6791---editing-list-with-ap.patch (text/plain), 1.69 KB, created by
Nicole C. Engard
on 2011-08-26 19:45:04 UTC
(
hide
)
Description:
[SIGNED-OFF] Fix for Bug 6791 - editing list with apostrophe loses text
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2011-08-26 19:45:04 UTC
Size:
1.69 KB
patch
obsolete
>From d62685866e6b04c746019d621fa3e77fde412e18 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 26 Aug 2011 15:14:48 -0400 >Subject: [PATCH] [SIGNED-OFF] Fix for Bug 6791 - editing list with apostrophe loses text > >Markup used single quotes around value attribute. Since single >quotes aren't escaped by the template's HTML filter these >quotes conflicted with the one in the text. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../prog/en/modules/virtualshelves/shelves.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index a91046e..d275d56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -279,7 +279,7 @@ function placeHold () { > <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> > <legend>Edit List <i>[% shelfname | html %]</i></legend> > <ol> >- <li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value='[% shelfname |html %]' /></li> >+ <li><label for="shelfname">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelfname |html %]" /></li> > <li><label for="owner">Owner: </label><input type="hidden" id="owner" name="owner" value="[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]" />[% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]</li> > <li><label for="sortfield" >Sort this list by: </label> > <select name="sortfield"> >-- >1.7.2.3
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 6791
:
5165
|
5166
| 5167