-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delayedObserver is not a function #6
Comments
I'm having this problem too. Any advice is welcome!! |
My solution: I used Sprockets for dependency loading. I solved this by force-require jQuery + jQuery-UI in application.js before jRails. I'm not sure this solves your problems, but I got this issue when upgrading jRails - so I suspect you also got issue with jQueryUI or jRails not properly loaded or loaded in incorrect order. Works for me now for sure. |
Very similar solution: My js libraries weren't loading in the proper order. If you are having this problem it would be a good strategy to take out all of your other libraries an simply load these to see if it fixes the problem. Once you have it working, add them back in until you have it working in the proper order. script src = "/javascripts/jquery.js" type = "text/javascript"> |
Well, it works for me already so...history. Using sprockets or juicer, the lib only gets required once no matter how many times it's "required". Therefore no more a issue, with the correct approach. I think it was the loading order. |
Probably, need to fix |
I can confirm only using the "jRails form observer plugin" part of the jrails works great and solves this problem. Jrails conflicted with a bit of the javascript we were using, so this was a great solution (and much lighter since we only needed this part of jrails) |
Can't get the observer to work. Following instructions similar to: http://railsforum.com/viewtopic.php?id=20362
The text was updated successfully, but these errors were encountered: