[Rt-commit] r4535 - in rtir/branches/1.9-EXPERIMENTAL:
html/Callbacks/RTIR/Ticket/Elements/ShowMessageStanza
ruz at bestpractical.com
ruz at bestpractical.com
Tue Feb 14 20:59:48 EST 2006
Author: ruz
Date: Tue Feb 14 20:59:47 2006
New Revision: 4535
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Ticket/Elements/ShowMessageStanza/Default
Log:
r714 at cubic-pc: cubic | 2006-02-15 05:05:06 +0300
* enable make clicky in RTIR area only
Modified: rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Ticket/Elements/ShowMessageStanza/Default
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Ticket/Elements/ShowMessageStanza/Default (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/Callbacks/RTIR/Ticket/Elements/ShowMessageStanza/Default Tue Feb 14 20:59:47 2006
@@ -1,6 +1,11 @@
-<%init>
-$m->comp('/RTIR/Elements/MakeClicky', ticket => $Transaction->TicketObj, url_params => "ticket=".$Transaction->TicketObj->Id, %ARGS);
-</%init>
+<%INIT>
+return unless $m->request_comp->path =~ m{^/RTIR/};
+return $m->comp( '/RTIR/Elements/MakeClicky',
+ %ARGS,
+ ticket => $Transaction->TicketObj,
+ url_params => "ticket=".$Transaction->TicketObj->Id,
+);
+</%INIT>
<%ARGS>
$Transaction => undef
</%ARGS>
More information about the Rt-commit
mailing list