summaryrefslogtreecommitdiff
path: root/rt/share/html
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html')
-rwxr-xr-xrt/share/html/index.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/rt/share/html/index.html b/rt/share/html/index.html
index ad9964cdb..2d703584e 100755
--- a/rt/share/html/index.html
+++ b/rt/share/html/index.html
@@ -115,7 +115,11 @@ if ( $ARGS{'QuickCreate'} ) {
From => $session{'CurrentUser'}->EmailAddress,
Content => $ARGS{'Content'},
Subject => $ARGS{'Subject'});
- push @results, $msg;
+ if ( $t && $t->Id && RT->Config->Get('QuickCreateDisplay', $session{'CurrentUser'}) ) {
+ RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Ticket/Display.html?id=". $t->Id);
+ } else {
+ push @results, $msg;
+ }
}
elsif ( !$ValidCFs ) {
push @results, "can't quickly create ticket in queue " .