[Bps-public-commit] r13932 - RT-BugTracker/html/Ticket

ruz at bestpractical.com ruz at bestpractical.com
Wed Jul 9 16:47:22 EDT 2008


Author: ruz
Date: Wed Jul  9 16:47:22 2008
New Revision: 13932

Modified:
   RT-BugTracker/html/Ticket/Create.html

Log:
* use ErrorDisabled in custom Ticket/Create.html

Modified: RT-BugTracker/html/Ticket/Create.html
==============================================================================
--- RT-BugTracker/html/Ticket/Create.html	(original)
+++ RT-BugTracker/html/Ticket/Create.html	Wed Jul  9 16:47:22 2008
@@ -248,6 +248,11 @@
 $QueueObj->Load($Queue) || Abort(loc("Queue could not be loaded."));
 $Queue = $QueueObj->Name || $QueueObj->id;
 
+if ( $QueueObj->Disabled ) {
+    $m->comp('/Dist/Elements/ErrorDisabled', Queue => $QueueObj );
+    $m->abort;
+}
+
 my $CFs = $QueueObj->TicketCustomFields();
 my $TxnCFs = $QueueObj->TicketTransactionCustomFields();
 



More information about the Bps-public-commit mailing list