[Rt-commit] [rtir] 08/18: Don't double-prepend the RT WebPath in the titlebox actions

Jesse Vincent jesse at bestpractical.com
Wed Mar 11 03:36:45 EDT 2015


This is an automated email from the git hooks/post-receive script.

jesse pushed a commit to branch 3.4/remove_old_constituencies
in repository rtir.

commit cb01fde5d435d4d5671488de603fc15f97214749
Author: Jesse Vincent <jesse at bestpractical.com>
Date:   Tue Mar 10 19:47:41 2015 -0700

    Don't double-prepend the RT WebPath in the titlebox actions
---
 html/RTIR/Incident/Elements/ShowChildren | 2 +-
 html/RTIR/Tools/Elements/LookupSummary   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/RTIR/Incident/Elements/ShowChildren b/html/RTIR/Incident/Elements/ShowChildren
index 919954b..0c82e33 100644
--- a/html/RTIR/Incident/Elements/ShowChildren
+++ b/html/RTIR/Incident/Elements/ShowChildren
@@ -131,7 +131,7 @@ if ( $total_count > $Rows ) {
     };
 }
 my $box_actions = join ' 'x3,
-    map qq{<a href="}. RT->Config->Get('WebPath') . $_->{'path'} .q{">}
+    map qq{<a href="}. $_->{'path'} .q{">}
         . $m->interp->apply_escapes( $_->{title}, 'h' ) . q{</a>},
     @box_actions;
 
diff --git a/html/RTIR/Tools/Elements/LookupSummary b/html/RTIR/Tools/Elements/LookupSummary
index 9329771..f701b63 100644
--- a/html/RTIR/Tools/Elements/LookupSummary
+++ b/html/RTIR/Tools/Elements/LookupSummary
@@ -138,7 +138,7 @@ elsif ( $TicketObj && $TicketObj->QueueObj->Lifecycle ne RT::IR->lifecycle_incid
     };
 }
 my $box_actions = join ' 'x3,
-    map qq{<a href="}. RT->Config->Get('WebPath') . $_->{'path'} .q{">}
+    map qq{<a href="}.  $_->{'path'} .q{">}
         . $m->interp->apply_escapes( $_->{title}, 'h' ) . q{</a>},
     @box_actions;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list