AW: [rt-users] Questions
Joachim Ritschmann
J.Ritschmann at tiscon.com
Thu Feb 12 11:38:01 EST 2004
Hi,
this was also a issue in our company, so learning by doing
I got this solution. There are beter ways for sure.
To get ALWAYS an entry about the time worked when a ticket is updated,
I added this Javascript to
<path_to_where_RT_lives>/WebRT/html/Ticket/Update.html
<script language="JavaScript">
function test() {
if (document.TicketUpdate.UpdateTimeWorked.value== '' )
{
alert("Please enter a value");
document.TicketUpdate.UpdateTimeWorked.focus();
return false;
}
</script>
nd in the %ARGS section
$Repl => "yes"
and to <path_to_where_RT_lives>/WebRT/html/Elements/Submit
inside both "<INPUT TYPE=SUBMIT, before '%if ($Name)...'" tags
%if ($Repl) {
onClick="return test()"
%}
and in the %ARGS section
$Repl => ''
I think it should also be able to react on the DefaultStatus.
Hope this helps
___________________________________
Ritschi =B-)
Lose your dreams and you will lose your mind
Rolling Stones - Ruby Tuesday
> -----Ursprüngliche Nachricht-----
> Von: Rick Ellis [mailto:Richard.Ellis at Sun.COM]
> Gesendet: Donnerstag, 12. Februar 2004 12:59
> An: rt-users at lists.bestpractical.com
> Betreff: [rt-users] Questions
>
>
> Hi Guys,
-------- 8< Snip -------
> 3. Is it possible to prevent a ticket being closed unless
> someone enters
> time in the Time worked field?
-------- Snap >8 -------
> Thanks
>
> Rik
> --
> Rick Ellis <Richard.Ellis at Sun.COM>
More information about the rt-users
mailing list