diff --git a/apps/dashboard/app/javascript/support_ticket.js b/apps/dashboard/app/javascript/support_ticket.js
index d3532e07e..97cd7dc90 100644
--- a/apps/dashboard/app/javascript/support_ticket.js
+++ b/apps/dashboard/app/javascript/support_ticket.js
@@ -36,7 +36,7 @@ jQuery(function (){
}
function showAttachmentsError(message) {
- const $attachmentsElement = $("[data-toggle='attachments-error']");
+ const $attachmentsElement = $("[data-bs-toggle='attachments-error']");
$attachmentsElement.parent().addClass("has-error");
$attachmentsElement.after(`
${message}
`);
}
@@ -76,14 +76,14 @@ jQuery(function (){
``;
attachmentPlacementCallback(newAttachment);
$("input[type='file']").on("change", updateAttachmentContent);
- $("[data-toggle='attachment-delete']").on("click", deleteAttachment);
+ $("[data-bs-toggle='attachment-delete']").on("click", deleteAttachment);
return newAttachment;
}
@@ -100,7 +100,7 @@ jQuery(function (){
}
$(function() {
- $("[data-toggle='attachments-add']").on("click", addAttachment);
+ $("[data-bs-toggle='attachments-add']").on("click", addAttachment);
$("#new_support_ticket").submit(validateForm);
});