[Rt-commit] r11440 - in rt/branches/3.6-RELEASE: .

falcone at bestpractical.com falcone at bestpractical.com
Thu Apr 3 12:29:02 EDT 2008


Author: falcone
Date: Thu Apr  3 12:28:59 2008
New Revision: 11440

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/Ticket/Create.html

Log:
 r30902 at ketch:  falcone | 2008-04-03 12:26:58 -0400
 * name the Create button so we can differentiate clicking on Create from 
   something like one of RTFM's buttons


Modified: rt/branches/3.6-RELEASE/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Create.html	(original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Create.html	Thu Apr  3 12:28:59 2008
@@ -168,7 +168,7 @@
 </tr>
 </table>
 </&>
-<& /Elements/Submit, Label => loc("Create")&>
+<& /Elements/Submit, Label => loc("Create"), Name => 'CreateTicket' &>
 </div>
 
 <div id="Ticket-Create-details">
@@ -235,7 +235,7 @@
 </td>
 </tr>
 </table>
-<& /Elements/Submit, Label => loc("Create") &>
+<& /Elements/Submit, Label => loc("Create"), Name => 'CreateTicket'  &>
 </div>
 </form>
 
@@ -371,7 +371,7 @@
 
 # }}}
 
-if ((!exists $ARGS{'AddMoreAttach'}) and ($ARGS{'id'} eq 'new')) { # new ticket?
+if ((!exists $ARGS{'AddMoreAttach'}) and exists $ARGS{'CreateTicket'} and ($ARGS{'id'} eq 'new')) { # new ticket?
     if ($ValidCFs) {
         $m->comp('Display.html', %ARGS);
         $RT::Logger->crit("After display call; error is $@");


More information about the Rt-commit mailing list