[rt-users] lasttran anchor not working from updated date field.

david.falkenburger at rbc.com david.falkenburger at rbc.com
Wed Jun 30 11:54:50 EDT 2004


The anchor "#lasttrans" does not work for me. I don't believe the generated
html is correct. In /html/Ticket/Elements/ShowHistory the line:
 
    $m->out('<a name="lasttrans"></a>') if ( $Transactions->IsLast );
 
places the anchor floating in the table, without any <TR> or <TD> tags, it
ends up floating to the top of the table. When clicking on the link in the
dates field it does not take you to last transaction, just takes you to the
top of the table. I am assuming that this is not was intended, rather it
should take you to the last transaction entered.
 
I modified the line to 
 
$m->out('<TR><TD><a name="lasttrans" href="#lasttrans">#</a></TD></TR>') if
( $Transactions->IsLast );
 
to make it consistent with the other transaction anchors and it works ok
now. I also had to add the "#" character otherwise it would not work with
IE.
 
Is this what was intended?
 
Thanks.
Dave
 
 

------------------------------------------------------------This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. 

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.

============================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040630/133fd747/attachment.htm>


More information about the rt-users mailing list