[Bps-public-commit] rt-extension-mobileui branch, master, updated. 0.93-1-g5bfb7cf
Jesse Vincent
jesse at bestpractical.com
Mon Aug 9 09:33:12 EDT 2010
The branch, master has been updated
via 5bfb7cfc5c2bcc4828030b34ddbc928b2e339693 (commit)
from 058d54513e3282eb63236ab854f55ccf5290fe8f (commit)
Summary of changes:
.../Ticket/Display.html/Initial | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 5bfb7cfc5c2bcc4828030b34ddbc928b2e339693
Author: Jesse Vincent <jesse at bestpractical.com>
Date: Mon Aug 9 06:33:33 2010 -0700
Actually do the right redirection on loading a ticket url
diff --git a/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial b/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
index 5a2cf20..65873cb 100644
--- a/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
+++ b/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
@@ -1,7 +1,7 @@
<%INIT>
return if $ARGSRef->{'NoRedirect'};
if (RT::Extension::MobileUI::MobileClient()) {
- RT::Interface::Web::Redirect('/m/ticket/show.html?id='.$TicketObj->id);
+ RT::Interface::Web::Redirect(RT->Config->Get('WebBaseURL').'/m/ticket/show.html?id='.$TicketObj->id);
$m->abort;
}
</%INIT>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list