[Rt-commit] [rtir] 14/14: Add a queue selection widget to the default RTIR create screen

Jesse Vincent jesse at bestpractical.com
Wed Feb 18 20:55:10 EST 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit dbff1b53ef2d263e9f5012fb80225818e9838eed
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Wed Feb 18 17:54:11 2015 -0800

    Add a queue selection widget to the default RTIR create screen
    
    This isn't anywhere near done yet. But it's the first step toward
    multiple queues for a given lifecycle, as well as part of the new
    multiple constituency system
---
 html/RTIR/Create.html | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/html/RTIR/Create.html b/html/RTIR/Create.html
index feb6f03..b95df93 100644
--- a/html/RTIR/Create.html
+++ b/html/RTIR/Create.html
@@ -66,7 +66,6 @@
 % }
 <input type="hidden" name="id" value="new" />
 <input type="hidden" class="hidden" name="Token" value="<% $ARGS{'Token'} %>" />
-<input type="hidden" name="Queue" value="<% $Queue %>" />
 % if ( $Split ) {
 <input type="hidden" name="Split" value="<% $SplitObj->id %>" />
 % }
@@ -100,6 +99,14 @@
   <& /Ticket/Elements/EditBasics,
     InTable => 1,
     fields  => [
+        {   name => 'Queue',
+            comp => '/RTIR/Elements/SelectRTIRQueue',
+            args => {
+                Name => 'Queue',
+                Default => $ARGS{'Queue'} || $QueueObj->Id,
+                ShowNullOption => 0,
+            }
+        },
         {
             name => 'Status',
             comp => '/Elements/SelectStatus',

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list