Problems with 2.2.0 version
Closed this issue · 1 comments
bodrovis commented
Hello. I have an app that is heavily relied on jquery. I just updated to 2.2.0 version and got the following error in the Firebug console:
TypeError: $(...).live is not a function
....get(0).nodeName.toUpperCase()=="LI"?(i.replaceWith(o),i=o):i.empty().append(n)
And part of my functionality was broken. When i reverted to 2.1.4 version everything was OK again.
JangoSteve commented
It sounds like some javascript somewhere in your app uses .live()
which has been removed from jquery 1.9.0, which jquery-rails 2.2.0 has updated to. If you have functionality that is broken by the latest jquery, you can keep the version you have by putting this in your Gemfile:
gem 'jquery-rails', '~> 2.1'