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

Redactor editor & DateTimePicker must be update #205

Open
Saraylu opened this issue Jun 3, 2017 · 0 comments
Open

Redactor editor & DateTimePicker must be update #205

Saraylu opened this issue Jun 3, 2017 · 0 comments

Comments

@Saraylu
Copy link

Saraylu commented Jun 3, 2017

It seems Redactor editor & DateTimePicker must be update.

size() was deprecated years ago and removed in version 3 ... use length instead

if (e.target.id == "wrapper" || $(e.target).parents("#wrapper").length)
All you had to do was look this up in the size() docs to find this out

jquery.js:3869 Uncaught TypeError: input.size is not a function
at dateTimePicker (bootstrap-datetimepicker.js:2229)
at HTMLDivElement. (bootstrap-datetimepicker.js:2284)
at Function.each (jquery.js:362)
at jQuery.fn.init.each (jquery.js:157)
at jQuery.fn.init.$.fn.datetimepicker (bootstrap-datetimepicker.js:2279)
at 22:458
at HTMLDocument. (22:468)
at mightThrow (jquery.js:3583)
at process (jquery.js:3651)
dateTimePicker @ bootstrap-datetimepicker.js:2229
(anonymous) @ bootstrap-datetimepicker.js:2284
each @ jquery.js:362
each @ jquery.js:157
$.fn.datetimepicker @ bootstrap-datetimepicker.js:2279
(anonymous) @ 22:458
(anonymous) @ 22:468
mightThrow @ jquery.js:3583
process @ jquery.js:3651

redactor.js:1254 Uncaught TypeError: $(...).parents(...).size is not a function
at init. (redactor.js:1254)
at HTMLDivElement.proxy (jquery.js:496)
at HTMLDivElement.dispatch (jquery.js:5206)
at HTMLDivElement.elemData.handle (jquery.js:5014)
(anonymous) @ redactor.js:1254
proxy @ jquery.js:496
dispatch @ jquery.js:5206
elemData.handle @ jquery.js:5014

redactor.js:1254 Uncaught TypeError: $(...).parents(...).size is not a function
at init. (redactor.js:1254)
at HTMLDivElement.proxy (jquery.js:496)
at HTMLDivElement.dispatch (jquery.js:5206)
at HTMLDivElement.elemData.handle (jquery.js:5014)
(anonymous) @ redactor.js:1254
proxy @ jquery.js:496
dispatch @ jquery.js:5206
elemData.handle @ jquery.js:5014

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

1 participant