Hello,
I have solved this for my purposes. I changed the local/html/Ticket/Modify.html
like this:
<body onload="doLoad()">
<%INIT>
my $TicketObj = LoadTicket($id);
my $CustomFields = $TicketObj->QueueObj->TicketCustomFields();
# Now let callbacks have a chance at editing %ARGS
$m->comp('/Elements/Callback', TicketObj => $TicketObj, CustomFields =>
$CustomFields, ARGSRef => \%ARGS);
my @results = ProcessTicketBasics(TicketObj => $TicketObj, ARGSRef => \%ARGS);
my @cf_results = ProcessObjectCustomFieldUpdates(Object => $TicketObj, ARGSRef
=> \%ARGS);
push (@results, @cf_results);
# TODO: display the results, even if we can't display the ticket
unless ($TicketObj->CurrentUserHasRight('ShowTicket')) {
Abort("No permission to view ticket");
}
</%INIT>
<%ARGS>
$id => undef
</%ARGS>
<script language="JavaScript">
var sURL = "http://example.de/rt"; // I put in here our homepage of RT
function doLoad()
{
setTimeout( "refresh()", 10 );
}
function refresh()
{
window.location.href = sURL;
}
//-->
</script>
<body onload="doLoad()">
-----------
Any comments ?
----- Forwarded Message ----
From: Andree Kupka <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, January 24, 2007 11:13:03 PM
Subject: Delete/Resolved Link for RT at a glance
Hello,
I add this:
'<a
href="/rt/Ticket/Modify.html?id=__id__&Status=resolved">Delete</a>/TITLE:
'
to the advanced search. So this is very helpfull for SPAM and so on. But I need
a little help to make this more "ergonomic". Click on this link show another
page, with the feedback that this ticket is resolve.
But when you have many SPAMs it will be faster when you get the feedback direkt
on the search result page, or on the RT at a glance page.
Any idea how to do this?
Thanks
Andree
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel
bargains.
____________________________________________________________________________________
Need a quick answer? Get one in minutes from people who know.
Ask your question on www.Answers.yahoo.com_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com