https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14224
--- Comment #92 from Marc Véron <[email protected]> --- (In reply to Marc Véron from comment #91) > Test plan step 4): > AllowIssueNotes should read AllowCheckoutNotes > > ------ > > Test plan step 7): > Enter "Buchrücken ist beschädigt", click "Submit changes", field shows: > "Buchr�cken ist besch�digt". Same with éàè etc. > Same in message "...has been saved and sent to the library." > > Text seems to be OK in database (select note from issues;) > > If I reload the page, text displays correctly. > > ------ > Hi Aleisha, the issue with öäüéàè etc. can bi fixed with the following: --- 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"); -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
