diff options
author | mark <mark> | 2011-06-01 00:14:38 +0000 |
---|---|---|
committer | mark <mark> | 2011-06-01 00:14:38 +0000 |
commit | 752db0e2e6f3eece3237c69b372084257a684f0b (patch) | |
tree | 3a628627331b906a4229e2e340b417bc6f7e8eca /rt | |
parent | e02e5448d8fdad322dbe5562f92d9623e5d6f0dd (diff) |
improve mandatory fields, #9260, tabs
Diffstat (limited to 'rt')
-rw-r--r-- | rt/FREESIDE_MODIFIED | 2 | ||||
-rwxr-xr-x | rt/share/html/Ticket/Elements/Tabs | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/rt/FREESIDE_MODIFIED b/rt/FREESIDE_MODIFIED index d18022f7b..364eacb21 100644 --- a/rt/FREESIDE_MODIFIED +++ b/rt/FREESIDE_MODIFIED @@ -105,7 +105,7 @@ share/html/Ticket/Elements/ShowMembers_Checklist share/html/Ticket/Elements/BulkLinks share/html/Ticket/Elements/ShowSummary share/html/Ticket/Elements/ShowTransactionAttachments - share/html/Ticket/Elements/Tabs #saved searches + share/html/Ticket/Elements/Tabs #saved searches #mandatory fields share/html/Ticket/Update.html #timeworked custom fields share/html/Ticket/ModifyCustomers.html html/NoAuth/css/3.5-default/main.css diff --git a/rt/share/html/Ticket/Elements/Tabs b/rt/share/html/Ticket/Elements/Tabs index 3a8a176c4..2f89dc61c 100755 --- a/rt/share/html/Ticket/Elements/Tabs +++ b/rt/share/html/Ticket/Elements/Tabs @@ -196,7 +196,9 @@ if ($Ticket) { if ( $can{'ModifyTicket'} ) { if ( $Ticket->Status ne 'resolved' ) { $actions->{'G'} = { - path => + path => + ($Ticket->MissingRequiredFields) ? + "Ticket/Modify.html?Status=resolved&id=$id" : "Ticket/Update.html?Action=" . RT->Config->Get('ResolveDefaultUpdateType', $session{'CurrentUser'}) . "&DefaultStatus=resolved&id=" |