[Rt-commit] rt branch, create-action, updated. 827a20f0abba6c308d5baee23cecd247155287cb

sartak at bestpractical.com sartak at bestpractical.com
Mon Nov 16 15:55:18 EST 2009


The branch, create-action has been updated
       via  827a20f0abba6c308d5baee23cecd247155287cb (commit)
      from  877373f507e11d3b79f0c9c068fb380dcd4d77d2 (commit)

Summary of changes:
 lib/RT/View/Ticket/Create.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 827a20f0abba6c308d5baee23cecd247155287cb
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Mon Nov 16 15:55:06 2009 -0500

    Set the name of the create form to make tests happier

diff --git a/lib/RT/View/Ticket/Create.pm b/lib/RT/View/Ticket/Create.pm
index 48254b1..097b3bb 100644
--- a/lib/RT/View/Ticket/Create.pm
+++ b/lib/RT/View/Ticket/Create.pm
@@ -71,8 +71,9 @@ template 'create' => page { title => _('Create a new ticket') } content {
     );
     $create->set_queue($queue);
 
-    form {
+    with ( name => 'ticket_create' ), form {
         form_next_page url => '/Ticket/Display.html';
+
         render_action($create);
         $create->button(label => _('Create'));
     };

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


More information about the Rt-commit mailing list