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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit e73965c62f)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
e934c2fb99
commit
85f5f84f01
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue