Justin Perkins wrote:
>> Christophe Porteneuve wrote:
>> Well for starters the new IPE doesn't handle the cancel button
>> "correctly" when htmlResponse is false.
> 
> Indeed, I hadn't noticed that until now. I can see that the keydown
> listener is not properly attached to the input box and is instead
> attached to the span (or whatever is used to trigger the IPE), which
> will never fire when we expect it to, if ever.

I thought the error was caused by the fact that the old value is never 
saved before the form is created, so if the cancel button is pressed 
then nothing reassigns the old value back to the element to set it to 
whatever it was before the IPE was invoked.

Steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to