On Aug 26, 2013, at 5:40 AM, javi68yt2 wrote:

> 
> Thanks for your kind reply. Maybe you're right.
> I've checked my code and I ascertained that only the first click fails, the 
> following are good.
> 
> Here is an example:
> 
> echo "<tr><td  onClick='new 
> Ajax.Updater(\"Inventario2_cuerpo_recursos_dependencias\", 
> \"/dispatcherGET.php?class=Inventario2&method=reentrada&subclass=FichaRecurso&submethod=body&vista=dependencias&ajax=true&idrec={$this->getObjeto()->getID()}\",
>  {evalScripts: \"yes\" } );' style='cursor: pointer' 
> class='Inventario2_fontBlueBold' colspan=2><img 
> src='/MODULOS/Inventario2/images/Gaplicacion.png' height=22px width=22px> 
> Mostrar Dependencias entre Aplicaciones</td>";
> 
> I've always use this piece of code in several places without problem till now.
> And now, I always get an error on the first click after page is loaded. No 
> matter on what TD I click first.
> 
> For now, I'll accept my correction, until I can make a broader change in my 
> code...
> 
> PS:
> What is a fact is what FF says about the support for eval(code, scopeObject) 
> has been removed... 

Please take a moment to create a cut-down example of this issue, and post it on 
a server somewhere so we can see it in action. If your callback code has to hit 
a server endpoint, provide a static HTML file at that address, so we can be 
sure that nothing being sent by your server (CGI, PHP, etc.) is at fault for 
not providing the correct headers. This should not take you too long, because 
it's an extraction, not new code. 

There are two immediate benefits to this exercise: first, you may find (as I 
often do) that while extracting the code, you find the true source of the 
problem; and second, you will get the benefit of many eyes on the problem 
should it choose this moment to become repeatable.

Walter

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prototype-scriptaculous+unsubscr...@googlegroups.com.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
Visit this group at http://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to