Results 1 to 2 of 2
Oct 21, 2008, 07:47 #1
- Join Date
- Aug 2006
- 0 Post(s)
- 0 Thread(s)
How do I stop observe_form on a form?
I'm using observe_form helper to monitor a form and auto save every minute. This is working well. However, when the form is saved by the user, the form is removed via AJAX call. Even though the div area, where both the form and observer were in, was removed the observer routine is still observing and throws a nasty error message because it can't find the form it was observing!
I'd like to avoid refreshing the whole page and keep my AJAX.
Any ideas? I've been searching around and can't find anything addressing this problem.