nate-strauser / meteor-x-editable-bootstrap

Smart package for x-editable in place editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read property 'template' of undefined

nikolaygit opened this issue · comments

After installing and using the code in the README I get the error

Uncaught TypeError: Cannot read property 'template' of undefined 

in the file bootstrap-editable.js:4504

innerCss: $.fn.popover && $($.fn.popover.defaults.template).find('p').length ? '.popover-content p' : '.popover-content',

Environment: Meteor Release 0.6.6.3

Same problem here.
Used this fork for Boostrap 3: https://github.com/JustinSGray/meteor-x-editable-bootstrap
Meteor version: 0.7.1

EDITED
Removing and adding again the package solved the problem.

so i'm thinking this is resolved, i'm not seeing this error, if its still occurring please provide instructions to replicate

For future googlers, I got the same problem when included wrong version of the library.
Make sure to use x-editable/dist/bootstrap3-editable/js/bootstrap-editable.js for bootstrap3.