Skip to content

Redactor editor & DateTimePicker must be update #205

@Saraylu

Description

@Saraylu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions