Uncaught TypeError: Cannot read property 'template' of undefined
nikolaygit opened this issue · comments
Nikolay Georgiev commented
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
Marco commented
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.
Nathan Strauser commented
so i'm thinking this is resolved, i'm not seeing this error, if its still occurring please provide instructions to replicate
Pavel Dubinin commented
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.