X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2Findex.html;h=0a570e5c314774ca80c1e317beb6b3a3c602ad34;hb=fd956fecc9076badf20945f2503c2d889362b6c2;hp=49d524a961d7b8246e628b1cefdd3af80245d88d;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/index.html b/rt/share/html/index.html index 49d524a96..0a570e5c3 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('DisplayAfterQuickCreate', $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 " .