easier to leave it as it is (working) than add more lines of code.
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Tobie Langel" <tobie.lan...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Wednesday, July 29, 2009 1:45 PM
Subject: [Proto-Scripty] Re: Event.stop(event);


>
>> Found an easier way....
>>
>> Added "asyncronous: false," to the ajax options!!
>
> That's no longer ajax, then. ;)
>
> The way to handle this issue is to:
>
> 1. stop the event immediately.
> 2. in case of an ajax failure, just change window.location to $
> (this).readAttribute('href');
>
> Also, you should consider suing event delegation in such a case.
>
> Best,
>
> Tobie
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to