Thx rahul, that worked for me!

Jan

Am 28.02.2006 um 22:24 Uhr schrieb Rahul Bhargava:
> This might be the "var" bug from a while ago.  Get rid of any "var"
> keywords in the html being returned and then it should stop crashing
> things.  Or patch your prototype's evalScripts method.

> http://dev.rubyonrails.org/ticket/3288

> rahul

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jan
> Deppisch
> Sent: Tuesday, February 28, 2006 3:53 PM
> To: rails-spinoffs@lists.rubyonrails.org
> Subject: Re: [Rails-spinoffs] browser-crash with Ajax.Updater

> I use FF 1.0.7, but as the page will be a public page I cannot say to
> the visitors "please upgrade to FF 1.5..." ;) Is there another solution?

> Am 28.02.2006 um 21:40 Uhr schrieb Danger Stevens:
>> There were some crashing problems on Firefox 1.07 so the first thing
> to do
>> is make sure you're running Firefox version 1.5.0.1
> (http://getfirefox.com).

>> If it still crashes let me know and I'll look into it more.

>>     - Danger

>> On 2/28/06, Jan Deppisch <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> on my page I start an ajax-request which returns rhtml-code (I use
>>> Rails) looping over some objects. When I place the following code
> within
>>> the loop my browser (FF) crashs:
>>>
>>> <script>
>>> var set_std_objekt = function (id) {
>>>   new Ajax.Updater('divname', '/dosomestuff', {
>>>     asynchronous:true,
>>>     evalScripts:true
>>>   })
>>> }
>>> </script>
>>>
>>> <a href="#" onclick="set_std_objekt (1); return false;"><img...></a>
>>>
>>> What's wrong here ?
>>>
>>> Instead when I include the "new Ajax.Updater..." in the
>>> onclick-attribute then it works:
>>>
>>> <a href="#" onclick="new Ajax.Updater....; return
false;">><img...></a>
>>>
>>> I'm new to the prototype stuff so maybe someone could give a hint :)
>>>
>>> Thx
>>> Jan
>>>
>>>
>>> _______________________________________________
>>> Rails-spinoffs mailing list
>>> Rails-spinoffs@lists.rubyonrails.org
>>> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>>>




> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs




_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to