changed to "DisplayAftgerQuickCreate" per upstream request for clarification, RT...
authorivan <ivan>
Thu, 18 Nov 2010 02:30:48 +0000 (02:30 +0000)
committerivan <ivan>
Thu, 18 Nov 2010 02:30:48 +0000 (02:30 +0000)
rt/lib/RT/Config.pm
rt/share/html/index.html

index 3634557..7aa25b3 100644 (file)
@@ -313,7 +313,7 @@ our %META = (
             Hints => 'Use css rules to display text monospaced and with formatting preserved, but wrap as needed.  This does not work well with IE6 and you should use the previous option', #loc
         },
     },
-    QuickCreateDisplay => {
+    DisplayAfterQuickCreate => {
         Section         => 'Ticket display',
         Overridable     => 1,
         SortOrder       => 6,
index 2d70358..89c976f 100755 (executable)
@@ -115,7 +115,7 @@ if ( $ARGS{'QuickCreate'} ) {
                         From => $session{'CurrentUser'}->EmailAddress,
                         Content => $ARGS{'Content'},
                         Subject => $ARGS{'Subject'});
-        if ( $t && $t->Id && RT->Config->Get('QuickCreateDisplay', $session{'CurrentUser'}) ) {
+        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;