jstree-rails icon indicating copy to clipboard operation
jstree-rails copied to clipboard

Uncaught TypeError: Object [object Object] has no method 'jstree'

Open marnen opened this issue 11 years ago • 1 comments

I'm trying this gem (version 0.0.4) with Rails 4, but getting Uncaught TypeError: Object [object Object] has no method 'jstree' when I call $('.tree').jstree(), even though jstree.js is being loaded. Help?

marnen avatar Jul 08 '13 15:07 marnen

You are loading the jstree.js file before loading jquery.js or maybe you are loading jquery.js multiple times.

waaadim avatar Jan 24 '14 09:01 waaadim