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/share/html | |
parent | e02e5448d8fdad322dbe5562f92d9623e5d6f0dd (diff) |
improve mandatory fields, #9260, tabs
Diffstat (limited to 'rt/share/html')
-rwxr-xr-x | rt/share/html/Ticket/Elements/Tabs | 4 |
1 files changed, 3 insertions, 1 deletions
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=" |