jqtree uncaught error in console

128 Views Asked by At

I could not replicate this issue in jsfiddle, but in my dev environment something is breaking the code. I have duallistbox, ckeditor 4.4.3, jquery 1.9.1 and jquery ui 1.10.3

Uncaught TypeError: Cannot read property 'fn' of undefinedSimpleWidget.register @ tree.jquery.js:225411../drag_and_drop_handler @ tree.jquery.js:3242s @ tree.jquery.js:1e @ tree.jquery.js:1(anonymous function) @ tree.jquery.js:1
1

There are 1 best solutions below

0
On

wrapped the whole code in below code fixed the issue

(function($) {
   // jqtree code
}(jQuery));