bergie/create

Uncaught TypeError: Cannot call method 'prepareItem' of undefined

flack opened this issue · 1 comments

Since updating to the latest create.js, I get the following error in Chrome when I go to edit mode, click a child item (I've tried here: http://demo.createphp.org/#what) and then move the mouse to the toolbar:

Uncaught TypeError: Cannot call method 'prepareItem' of undefined create-min.js:2
(anonymous function) create-min.js:2
b.each.b.forEach underscore-min.js:11
r.(anonymous function) backbone-min.js:25
(anonymous function) create-min.js:2
p.event.dispatch jquery-1.8.2.min.js:2
g.handle.h jquery-1.8.2.min.js:2
p.event.trigger jquery-1.8.2.min.js:2
(anonymous function) jquery-1.8.2.min.js:2
p.extend.each jquery-1.8.2.min.js:2
p.fn.p.each jquery-1.8.2.min.js:2
p.fn.extend.trigger jquery-1.8.2.min.js:2
e.Widget._trigger jquery.ui.widget.min.js:4
widget.workflows.(anonymous function).fetch.success create-min.js:3
a.success backbone-min.js:23
k jquery-1.8.2.min.js:2
l.fireWith jquery-1.8.2.min.js:2
y jquery-1.8.2.min.js:2
d jquery-1.8.2.min.js:2

Another jQuery 1.10 issue, dupe of #173