[Catalyst] Bustage between HTML::Prototype 1.35 and 1.36 ?
    Allen S. Rout 
    asr at ufl.edu
       
    Tue Dec 13 03:32:36 CET 2005
    
    
  
Moving a cat app between my workstation and the oncoming app box, I've
encountered an odd error in one of my Prototype invocations.  I was wondering
if anyone else had seen the like.  Distilled down, I can evoke the changed
behavior with
#!/usr/bin/perl
use HTML::Prototype; 
my $p = new HTML::Prototype;
print $p->link_to_remote('title',{
  update => 'a_node' ,
  url    => '/some.html'});
On 1.35, I get 
<a href="#" onclick=" new Ajax.Updater( 'a_node',  '/some.html', 
{ asynchronous: 1 } ) ; return false">title</a> 
which works.    On 1.36 I get
<a href="/some.html" onclick=" new Ajax.Updater( 'a_node',
'/some.html', { asynchronous: 1 } ) ; return false">title</a> 
which does not.  I've been rooting around in the HTML::Prototype code to see
what's changed, but the short answer is 'a helluva lot'. :)  Anyone else see
this, or have any brainstorms about what might have decided to encode the
quotes? 
- Allen S. Rout
    
    
More information about the Catalyst
mailing list