View | Details | Raw Unified | Return to bug 14224
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +2 lines)
Lines 938-943 Using this account is not recommended because some parts of Koha will not functi Link Here
938
                    var $self = $(this);
938
                    var $self = $(this);
939
                    var title = $(this).parent().siblings('.title').html();
939
                    var title = $(this).parent().siblings('.title').html();
940
                    var $noteinput = $(this).siblings('input[name="note"]').first();
940
                    var $noteinput = $(this).siblings('input[name="note"]').first();
941
                    var $noteformessage = $noteinput.val();
941
942
942
                    var ajaxData = {
943
                    var ajaxData = {
943
                        'action': 'issuenote',
944
                        'action': 'issuenote',
Lines 957-965 Using this account is not recommended because some parts of Koha will not functi Link Here
957
                            $("#notesaved").removeClass("alert-error");
958
                            $("#notesaved").removeClass("alert-error");
958
                            $("#notesaved").addClass("alert-info");
959
                            $("#notesaved").addClass("alert-info");
959
                            $noteinput.data('origvalue', data.note);
960
                            $noteinput.data('origvalue', data.note);
960
                            $noteinput.val(data.note);
961
                            message = "<p>" + _("Your note about %s has been saved and sent to the library.").format(title) + "</p>";
961
                            message = "<p>" + _("Your note about %s has been saved and sent to the library.").format(title) + "</p>";
962
                            message += "<p style=\"font-style:italic;\">" + data.note + "</p>";
962
                            message += "<p style=\"font-style:italic;\">" + $noteformessage + "</p>";
963
                            $self.hide();
963
                            $self.hide();
964
                        } else if(data.status == 'removed') {
964
                        } else if(data.status == 'removed') {
965
                            $("#notesaved").removeClass("alert-error");
965
                            $("#notesaved").removeClass("alert-error");
966
- 

Return to bug 14224