Bugzilla – Attachment 62206 Details for
Bug 14224
patron notes about item shown at check in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14224: (follow-up): Make äöü display properly after input
Bug-14224-follow-up-Make--display-properly-after-i.patch (text/plain), 2.51 KB, created by
Marc Véron
on 2017-04-17 08:18:57 UTC
(
hide
)
Description:
Bug 14224: (follow-up): Make äöü display properly after input
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-04-17 08:18:57 UTC
Size:
2.51 KB
patch
obsolete
>From 490d16b4c6ba113ceca468de79479e1166437395 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Mon, 17 Apr 2017 10:12:49 +0200 >Subject: [PATCH] =?UTF-8?q?Bug=2014224:=20(follow-up):=20Make=20=C3=A4?= > =?UTF-8?q?=C3=B6=C3=BC=20display=20properly=20after=20input?= >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch iixes display of öäü etc. immediately after input. >To reproduce do the following for test plan step 7): >- Enter "Buchrücken ist beschädigt", >- Click "Submit changes" >Result: >- Field shows: "Buchr�cken ist besch�digt". Same with éà è etc. >- Same in message "...has been saved and sent to the library." > >To test apply patch, repeat steps above, verify that text appears >correctly. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index dbeb3fa..983b6f3 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -938,6 +938,7 @@ Using this account is not recommended because some parts of Koha will not functi > var $self = $(this); > var title = $(this).parent().siblings('.title').html(); > var $noteinput = $(this).siblings('input[name="note"]').first(); >+ var $noteformessage = $noteinput.val(); > > var ajaxData = { > 'action': 'issuenote', >@@ -957,9 +958,8 @@ Using this account is not recommended because some parts of Koha will not functi > $("#notesaved").removeClass("alert-error"); > $("#notesaved").addClass("alert-info"); > $noteinput.data('origvalue', data.note); >- $noteinput.val(data.note); > message = "<p>" + _("Your note about %s has been saved and sent to the library.").format(title) + "</p>"; >- message += "<p style=\"font-style:italic;\">" + data.note + "</p>"; >+ message += "<p style=\"font-style:italic;\">" + $noteformessage + "</p>"; > $self.hide(); > } else if(data.status == 'removed') { > $("#notesaved").removeClass("alert-error"); >-- >2.1.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 14224
:
41801
|
41921
|
56682
|
57440
|
57577
|
57763
|
57802
|
57829
|
57853
|
58277
|
58325
|
58326
|
58372
|
58606
|
58622
|
59469
|
59637
|
59641
|
59761
|
59779
|
59780
|
59781
|
59782
|
59783
|
59784
|
59785
|
59786
|
59787
|
59788
|
59796
|
59798
|
59799
|
59800
|
59801
|
59802
|
59803
|
59804
|
59805
|
59806
|
61847
|
61848
|
61849
|
61850
|
61851
|
61852
|
61853
|
61854
|
61855
|
61856
|
62196
|
62197
|
62198
|
62199
|
62200
|
62201
|
62202
|
62203
|
62204
|
62205
|
62206
|
62633
|
62634
|
62635
|
62636
|
62637
|
62638
|
62639
|
62640
|
62641
|
62642
|
62643
|
62644