Skip to content

Commit 89eb95d

Browse files
committed
Keep .comment-modal title as defined in HTML
1 parent 291ff23 commit 89eb95d

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/Views/tickets/partials/comments/modal_edit.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="modal fade jquery_panel_hightlight comment-modal" id="comment-modal-edit-{{$comment->id}}" tabindex="-1" role="dialog" aria-labelledby="comment-modal-edit-{{$comment->id}}-Label">
1+
<div class="modal fade jquery_panel_hightlight comment-modal" id="comment-modal-edit-{{$comment->id}}" tabindex="-1" role="dialog">
22
<div class="modal-dialog modal-lg" role="document">
33
<div class="modal-content">
44
<div class="modal-header">

src/Views/tickets/partials/comments/scripts.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
});
99
1010
$('.comment-modal').on('shown.bs.modal', function (e) {
11-
$(this).find('.modal-title').text($(e.relatedTarget).text());
12-
1311
if ($(this).prop('id', 'modal-comment-new')){
1412
// Opening new comment modal
1513
$(this).find('#note_recipients').select2();

0 commit comments

Comments
 (0)