is onBefore honored by Hobo.ajaxRequest?
Reported by Ineu | April 28th, 2010 @ 07:40 PM | in Hobo 1.4
I'm trying to call code before form submit:
<form update='xxx'
before='alert(1)'>...</form>
If generates code with
onBefore:function(request){alert(1)}
in
Hobo.ajaxRequest, but this alert is never really executed.
Do I miss something or is it bug?
Comments and changes to this ticket
-
Matt Jones September 14th, 2011 @ 10:30 PM
- State changed from new to open
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 0 to 0
-
Matt Jones September 21st, 2011 @ 03:15 AM
- State changed from open to hold
- Milestone changed from Hobo 1.3 (Rails 3) to Hobo 1.4
- Milestone order changed from 13 to 0
Hmmm,
onBefore
isn't even a valid callback for that object. Nor, as far as I can determine, has it ever been a valid callback...There's an
onCreate
callback, but it's expecting a callback with a different signature (see the Responders documentation for more details).For now, I'm removing the reference entirely. Long term, Prototype is likely to be dropped in favor of jQuery.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป