[Rt-commit] r13153 - in rt/branches/3.8-TESTING: etc share/html/Elements

sartak at bestpractical.com sartak at bestpractical.com
Tue Jun 10 21:19:08 EDT 2008


Author: sartak
Date: Tue Jun 10 21:19:08 2008
New Revision: 13153

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/etc/RT_Config.pm.in
   rt/branches/3.8-TESTING/share/html/Elements/SelectQueue

Log:
 r62164 at onn:  sartak | 2008-06-10 21:18:55 -0400
 Revert DefaultQueueName, it's already user-level config (DefaultQueue)


Modified: rt/branches/3.8-TESTING/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.8-TESTING/etc/RT_Config.pm.in	(original)
+++ rt/branches/3.8-TESTING/etc/RT_Config.pm.in	Tue Jun 10 21:19:08 2008
@@ -1086,15 +1086,6 @@
 
 Set(@Active_MakeClicky, qw());
 
-=item C<$DefaultQueueName>
-
-Use this to select the default queue name that will be used for creating new
-tickets. This only affects the queue selection boxes on the web interface.
-
-=cut
-
-#Set($DefaultQueueName, 'General');
-
 =back
 
 =head1 L<Net::Server> (rt-server) Configuration

Modified: rt/branches/3.8-TESTING/share/html/Elements/SelectQueue
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/SelectQueue	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/SelectQueue	Tue Jun 10 21:19:08 2008
@@ -57,14 +57,8 @@
 %     }
 %     for my $queue (@{$session{$cache_key}}) {
   <option value="<% ($NamedValues ? $queue->{Name} : $queue->{Id}) %>" 
-
-% if ($queue->{Id} eq ($Default||'') || (!$Default && $queue->{Name} eq (RT->Config->Get('DefaultQueueName')||''))) {
- selected="selected"
-% }
-
->
+  <% ( $queue->{Id} eq ($Default||'') ? 'selected="selected"' : '') |n %>>
     <%$queue->{Name}%>
-
 %             if ($Verbose and $queue->{Description}) {
     (<%$queue->{Description}%>)
 %             }


More information about the Rt-commit mailing list