lib/RT/URI/freeside/XMLRPC.pm
share/html/autohandler #Footer getting appended where unwelcome
+ share/html/index.html #option to redirect to ticket display on quick create
share/html/Admin/CustomFields/Modify.html #CheckMandatoryFields
share/html/Admin/Users/Modify.html
share/html/Elements/CollectionList
Set($MessageBoxWidth, 80);
Set($MessageBoxRichTextHeight, 368);
+#redirects to ticket display on quick create
+#Set($QuickCreateRedirect, 1);
+
#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
1;
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 => {
+ Section => 'Ticket display',
+ Overridable => 1,
+ SortOrder => 6,
+ Widget => '/Widgets/Form/Boolean',
+ WidgetArguments => {
+ Description => 'On Quick Create, redirect to ticket display', #loc
+ #Hints => '', #loc
+ },
+ },
# User overridable locale options
DateTimeFormat => {
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 " .