Observe_form + call back after page changes - why?


#1

Hello there,

I have a live search that gimme a list of products.
In that list, I have a link for each product. That link render the
product page.

The problem is: After the product page renders, the observe_form calls
one last time, and generates an error, because of an invalid div.

Does anyone now why?

Tks

David S.

codes =>
observer : http://pastie.org/403081
list : http://pastie.org/403083
action : http://pastie.org/403085


#2

Anyone?
I did not find the solution yet!

tks,

David S.


#3

On Mar 2, 2:33 pm, David S. removed_email_address@domain.invalid
wrote:

Anyone?
I did not find the solution yet!

Neither did I. I have a similar problem with observe_form, using it
for validations.

It fires a PUT for each field change I make, and a POST (to my
validation controller method) after the changes are submitted to the
server.


#4

Same here, I notice the same behaviour, when changing a field a PUT is
sent, why?

decalod85 wrote:

On Mar 2, 2:33�pm, David S. removed_email_address@domain.invalid
wrote:

Anyone?
I did not find the solution yet!

Neither did I. I have a similar problem with observe_form, using it
for validations.

It fires a PUT for each field change I make, and a POST (to my
validation controller method) after the changes are submitted to the
server.