[Bps-public-commit] rtx-calendar branch, master, updated. 42d2a1279e24d64c92465a4459f47fdad2ebe8a4
? sunnavy
sunnavy at bestpractical.com
Mon Apr 11 13:38:23 EDT 2011
The branch, master has been updated
via 42d2a1279e24d64c92465a4459f47fdad2ebe8a4 (commit)
from 46795560eb367854cad05efab2b351a986796607 (commit)
Summary of changes:
html/Prefs/Calendar.html | 2 +-
html/Search/Calendar.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 42d2a1279e24d64c92465a4459f47fdad2ebe8a4
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Apr 12 01:35:50 2011 +0800
version check is bad, check if comp exists instead
diff --git a/html/Prefs/Calendar.html b/html/Prefs/Calendar.html
index f98950d..79d4d4c 100644
--- a/html/Prefs/Calendar.html
+++ b/html/Prefs/Calendar.html
@@ -6,7 +6,7 @@ $HiddenField => undef
</%args>
<& /Elements/Header, Title => $title &>
-% if ( $RT::VERSION lt '3.9.6' ) {
+% if ( $m->comp_exists( '/User/Elements/Tabs' ) ) {
<& /User/Elements/Tabs,
current_tab => 'Prefs/Calendar.html',
Title => $title
diff --git a/html/Search/Calendar.html b/html/Search/Calendar.html
index 871c462..d536261 100644
--- a/html/Search/Calendar.html
+++ b/html/Search/Calendar.html
@@ -11,7 +11,7 @@ $NewQuery => 0
<& /Elements/Header, Title => $title &>
-% if ( $RT::VERSION lt '3.9.6' ) {
+% if ( $m->comp_exists( '/Ticket/Elements/Tabs' ) ) {
<& /Ticket/Elements/Tabs,
current_tab => "Search/Calendar.html?$QueryString",
Title => $title &>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list