[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.8-182-g7451d99

Alex Vandiver alexmv at bestpractical.com
Mon Nov 26 13:50:38 EST 2012


The branch, 4.0-trunk has been updated
       via  7451d9998c30e569ecc300c0751fe8034f173931 (commit)
       via  92cefb5d449037ad8b07f4a5f74df1b3e85c7352 (commit)
      from  cb7bbd64290b0ada5166dd350d4404132f33d406 (commit)

Summary of changes:
 share/html/Ticket/ModifyAll.html | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 7451d9998c30e569ecc300c0751fe8034f173931
Merge: cb7bbd6 92cefb5
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Nov 26 13:50:21 2012 -0500

    Merge branch '4.0/clean-jumbo-message-box' into 4.0-trunk

diff --cc share/html/Ticket/ModifyAll.html
index a645c81,36d4dc5..fe4b6a5
mode 100644,100755..100644
--- a/share/html/Ticket/ModifyAll.html
+++ b/share/html/Ticket/ModifyAll.html
@@@ -214,13 -214,17 +214,19 @@@ unless ($OnlySearchForPeople or $OnlySe
  
  $Ticket->ApplyTransactionBatch;
  
+ MaybeRedirectForResults(
+     Actions   => \@results,
+     Path      => "/Ticket/ModifyAll.html",
+     Arguments => { id => $Ticket->id },
+ );
+ 
  # If they've gone and moved the ticket to somewhere they can't see, etc...
 -# TODO: display the results, even if we can't display the ticket.
 -
  unless ($Ticket->CurrentUserHasRight('ShowTicket')) {
 -   Abort("No permission to view ticket");
 +    if (@results) {
 +        Abort("A change was applied successfully, but you no longer have permissions to view the ticket", Actions => \@results);
 +    } else {
 +        Abort("No permission to view ticket");
 +    }
  }
  
  

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


More information about the Rt-commit mailing list