Skip to content
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

Use of deprecated jquery method size() #2882

Closed
yadwinderpaul opened this issue May 24, 2017 · 3 comments
Closed

Use of deprecated jquery method size() #2882

yadwinderpaul opened this issue May 24, 2017 · 3 comments

Comments

@yadwinderpaul
Copy link

yadwinderpaul commented May 24, 2017

rails (5.0.2)
rails_admin (1.1.1)
jQuery (3.2.1)

Deprecated Jquery method size() is being used and is causing the following trace:

Uncaught TypeError: filtering_select.size is not a function
    at $.(anonymous function).(anonymous function)._create (http://localhost:3000/assets/rails_admin/ra.filtering-select.self-2e2b4b93869c61371d6deca3fb34c933848aa9dfc2562dfaae5fd0fcc77b72b0.js?body=1:44:28)
    at $.(anonymous function).(anonymous function)._create (http://localhost:3000/assets/jquery-ui/widget.self-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js?body=1:116:25)
    at $.(anonymous function).(anonymous function)._createWidget (http://localhost:3000/assets/jquery-ui/widget.self-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js?body=1:286:8)
    at new $.(anonymous function).(anonymous function) (http://localhost:3000/assets/jquery-ui/widget.self-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js?body=1:77:9)
    at HTMLSelectElement.<anonymous> (http://localhost:3000/assets/jquery-ui/widget.self-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js?body=1:232:30)
    at Function.each (http://localhost:3000/assets/jquery/dist/jquery.self-06c43429d1047ce3f355da574d8a9750209971b8b1b8f264f91f5518c5fcc060.js?body=1:363:19)
    at jQuery.fn.init.each (http://localhost:3000/assets/jquery/dist/jquery.self-06c43429d1047ce3f355da574d8a9750209971b8b1b8f264f91f5518c5fcc060.js?body=1:158:17)
    at jQuery.fn.init.$.fn.(anonymous function) [as filteringSelect] (http://localhost:3000/assets/jquery-ui/widget.self-c1602241ddc51216b58391768667068867b8e15b9efc722befcd25771eda6819.js?body=1:224:9)
    at HTMLSelectElement.<anonymous> (http://localhost:3000/assets/rails_admin/ra.widgets.self-674fe3caebbb13c96450d27b42528399cd7617aeebd3642d34656519e812ea21.js?body=1:48:26)
    at Function.each (http://localhost:3000/assets/jquery/dist/jquery.self-06c43429d1047ce3f355da574d8a9750209971b8b1b8f264f91f5518c5fcc060.js?body=1:363:19)
@Kameshwaran
Copy link

Kameshwaran commented Jun 8, 2017

@yadwinderpaul I hope this PR fixed this issue
jklimke#1
Merged to RailsAdmin 1.2.0

@yadwinderpaul
Copy link
Author

Great, waiting for release...
This issue can be closed now.

@mshibuya
Copy link
Member

Closed by #2841.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants