[Bps-public-commit] rt-extension-jsgantt branch, master, updated. d0ccca1a3cdb9e8094ef101b57969e02ab11a099

? sunnavy sunnavy at bestpractical.com
Mon Apr 11 13:34:40 EDT 2011


The branch, master has been updated
       via  d0ccca1a3cdb9e8094ef101b57969e02ab11a099 (commit)
      from  6ce4703e296d2344912422fda07492ed92139fc1 (commit)

Summary of changes:
 html/Search/JSGantt.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit d0ccca1a3cdb9e8094ef101b57969e02ab11a099
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Apr 12 01:34:14 2011 +0800

    version check is bad, check if comp exists instead

diff --git a/html/Search/JSGantt.html b/html/Search/JSGantt.html
index 57f84fe..9ff602a 100644
--- a/html/Search/JSGantt.html
+++ b/html/Search/JSGantt.html
@@ -2,7 +2,7 @@
     Refresh => $session{'tickets_refresh_interval'} || RT->Config->Get('SearchResultsRefreshInterval', $session{'CurrentUser'} ),
     &>
 
-% if ( $RT::VERSION lt '3.9.6' ) {
+% if ( $m->comp_exists( '/Ticket/Elements/Tabs' ) ) {
 <& /Ticket/Elements/Tabs, Title => $title, Query => $ARGS{Query}, &>
 % } else {
 <& /Elements/Tabs &>

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



More information about the Bps-public-commit mailing list