[Rt-commit] rt branch, create-action, updated. 71098aefb1dec36af596ed58be8490052466b0f1

sartak at bestpractical.com sartak at bestpractical.com
Wed Sep 2 08:04:37 EDT 2009


The branch, create-action has been updated
       via  71098aefb1dec36af596ed58be8490052466b0f1 (commit)
      from  9761c6d6eb60e9052ee2b8d251ff99d13941f153 (commit)

Summary of changes:
 lib/RT/Action/CreateTicket.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 71098aefb1dec36af596ed58be8490052466b0f1
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Sep 2 08:03:45 2009 -0400

    Always render queue as read-only
    
        Though a page that wants to can make queue read-write. The default
        is this way because changing queue changes a lot of other fields, so
        the page has to be smart

diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index 8924855..77f21e2 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -10,7 +10,7 @@ use Jifty::Param::Schema;
 use Jifty::Action schema {
     param queue =>
         render as 'text',
-        is mandatory,
+        render_mode is 'read',
         default is defer {
             my $queue = Jifty->web->request->argument('queue');
             $queue = $queue->[0] if ref $queue eq 'ARRAY';

-----------------------------------------------------------------------


More information about the Rt-commit mailing list