Subject: | link_to_remote works differently then in 1.20 |
Hi.
I'm not sure if this is bug but today I installed 1.30 and all the links that I created with $prototype->link_to_remote return different values then in in 1.20. eg.
my $img_link = $Ajax->link_to_remote(
"<img src=\"". $content->get_thumbpath ."\">", {
update => 'screen',
url => '/content/show.asp?content_id=' . $content->content_id });
1.30
<a href="#" onclick=" new Ajax.Updater( 'screen', '/content/show.asp?content_id=16', { asynchronous: 1 } ) ; return false"><img src="/_storage/2005/07/09/16t.jpg"></a>
1.20
<a href="#" onClick=" new Ajax.Updater( 'screen', '/content/show.asp?content_id=13', { asynchronous: 1 } ) ; return false;"><img src="/_storage/2005/06/29/13t.jpg"></a>
There is no way for me to create a remote function on image because < and > are translated to < and >
Thanks.