|
@@ -155,9 +155,7 @@
|
|
|
</h1>
|
|
|
</div>
|
|
|
<div class="modal-body">
|
|
|
- Are you sure you want to change the status of the ticket "{{ ticket.title }}"?
|
|
|
- <br>
|
|
|
- From "{{ ticket.get_status_display }}" to "<span id="selectedStatusOption">12312</span>"
|
|
|
+ Are you sure you want to change the status of the ticket "{{ ticket.title }}" from <b>{{ ticket.get_status_display }}</b> to <b id="selectedStatusOption"></b>?
|
|
|
</div>
|
|
|
<div class="modal-footer">
|
|
|
<button type="button" class="btn btn-primary" data-bs-dismiss="modal">
|
|
@@ -271,7 +269,7 @@
|
|
|
e.preventDefault();
|
|
|
|
|
|
const selectValue = $('#select-ticket-status')[0].selectedOptions[0].textContent;
|
|
|
-
|
|
|
+
|
|
|
$('#selectedStatusOption')[0].textContent = selectValue;
|
|
|
})
|
|
|
</script>
|