[Rt-commit] r8030 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident

ruz at bestpractical.com ruz at bestpractical.com
Wed Jun 27 16:56:24 EDT 2007


Author: ruz
Date: Wed Jun 27 16:56:24 2007
New Revision: 8030

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html

Log:
* give different name to different group of checkboxes,
  so 'select all' box for a group only

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html	Wed Jun 27 16:56:24 2007
@@ -50,7 +50,7 @@
     BaseURL       => $current_tab,
     BaseQuery     => $BaseQuery{'Incident Reports'},
     Query         => $Query,
-    DisplayFormat => "__RTIR_Check__, $Format",
+    DisplayFormat => "__CheckBox.{SelectedReports}__, $Format",
     Format        => $Format,
     Rows          => $Rows,
     Page          => $Page,
@@ -65,7 +65,7 @@
     BaseURL       => $current_tab,
     BaseQuery     => $BaseQuery{'Investigations'},
     Query         => $Query,
-    DisplayFormat => "__RTIR_Check__, $Format",
+    DisplayFormat => "__CheckBox.{SelectedInvestigations}__, $Format",
     Format        => $Format,
     Rows          => $Rows,
     Page          => $Page,
@@ -79,7 +79,7 @@
     BaseURL       => $current_tab,
     BaseQuery     => $BaseQuery{'Blocks'},
     Query         => $Query,
-    DisplayFormat => "__RTIR_Check__, $Format",
+    DisplayFormat => "__CheckBox.{SelectedBlocks}__, $Format",
     Format        => $Format,
     Rows          => $Rows,
     Page          => $Page,
@@ -150,7 +150,7 @@
 $m->comp( '/RTIR/Create.html:ProcessAttachments', %ARGS );
 
 if ( $SubmitTicket ) {
-    foreach my $id( @SelectedTickets ) {
+    foreach my $id( @SelectedReports, @SelectedInvestigations, @SelectedBlocks ) {
         my $Ticket = RT::Ticket->new( $session{'CurrentUser'} );
         $Ticket->Load( $id );
         unless( $Ticket->id ) {
@@ -252,6 +252,8 @@
 $OrderBy         => 'id'
 $Order           => 'ASC'
 
- at SelectedTickets => ()
-$SubmitTicket    => 0
+ at SelectedReports        => ()
+ at SelectedInvestigations => ()
+ at SelectedBlocks         => ()
+$SubmitTicket           => 0
 </%ARGS>


More information about the Rt-commit mailing list