Merge pull request #1023 from itflow-org/ticketing-disable-modals-resolved
Do not load most edit modals if ticket is closed, as the data doesn't need to be changed
This commit is contained in:
@@ -1126,6 +1126,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
</div> <!-- End row -->
|
||||
|
||||
<?php
|
||||
if (empty($ticket_closed_at)) {
|
||||
require_once "ticket_edit_modal.php";
|
||||
|
||||
require_once "ticket_assign_modal.php";
|
||||
@@ -1145,6 +1146,7 @@ if (isset($_GET['ticket_id'])) {
|
||||
require_once "ticket_edit_schedule_modal.php";
|
||||
|
||||
require_once "ticket_merge_modal.php";
|
||||
}
|
||||
|
||||
if ($config_module_enable_accounting) {
|
||||
require_once "ticket_edit_billable_modal.php";
|
||||
|
||||
Reference in New Issue
Block a user