Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On views admin page creates the following error:
TypeError: this.element.prop is not a function
this.options.disabled = !!this.element.prop( "disabled" );
(line 7228 jquery-ui.js)
.prop was added in jquery 1.6.
http://api.jquery.com/prop/
Comment | File | Size | Author |
---|---|---|---|
#2 | jquery_updated-1953774-2.patch | 1.07 KB | OnkelTem |
Comments
Comment #1
OnkelTem CreditAttribution: OnkelTem commentedAs far as I understand the solution is not load jQuery UI 1.10.2 if jQuery version < 1.6+
But does jQuery 1.5 work with jQuery UI 1.8.7 (D7 default)?
Comment #2
OnkelTem CreditAttribution: OnkelTem commentedThis patch prevents replacing jQuery UI with the one shipped with jquery_update if jQuery version < 1.6, since jQuery UI > 1.9.x requires jQuery 1.6+ (See minimal version on this page for example: http://jqueryui.com/download/ )
Comment #3
westwesterson CreditAttribution: westwesterson commentedTested, works great!
Comment #4
eusonic CreditAttribution: eusonic commentedThis works great! It totally solved the problem I was having with the Features UI.
Comment #5
aschmoe CreditAttribution: aschmoe commentedPatch in #2 working for me as well
Comment #6
ericduran CreditAttribution: ericduran commentedI'm ok with this, It'll help close a couple of other issues.
Comment #7
ericduran CreditAttribution: ericduran commentedThis is now fixed.
Proper git commit credit given to @OnkelTem.
Thanks.
--
http://drupalcode.org/project/jquery_update.git/commit/dbf05b5