[rt-users] RT MobileUI ticket display URL.
Jason A. Smith
smithj4 at bnl.gov
Tue Nov 9 10:23:28 EST 2010
Our ticket emails contain URLs to display the ticket link, like this:
$RT::WebURL/Ticket/Display.html?id=$Id
This works with a normal web browser, but with the Mobile UI extension
installed which autodetects the client browser and redirects to the
mobile area, I get the following error:
Can't call method "id" on an undefined value at
/usr/local/lib/rt3/plugins/RT-Extension-MobileUI/html/Callbacks/RT-Extension-MobileUI/Ticket/Display.html/Initial
line 4.
It looks like the URL for the Mobile UI has to look like this instead:
$RT::WebURL/m/ticket/show?id=$Id
but obviously it would be better not to have to include both URLs in the
email message, which could be read on either a mobile device or
desktop/laptop. Is there a way to fix this so that the main URL will
work with the Mobile UI extension?
Thanks,
~Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4068 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101109/9d565d06/attachment.bin>
More information about the rt-users
mailing list