bootstrap-3-modal
bootstrap-3-modal copied to clipboard
Template.parentData() returns null
Is this package removing the template from the normal template hierarchy?
Template.parentData(x)
returns null
for any value of x
The template (the modal) is rendered and inserted into the the <body>
-element with Blaze.renderWithData
. As far as I know, all the normal Meteor stuff should work as usual, although I haven't used Meteor myself for ~1 year, so they may have made changes I'm not aware of.
But to answer your question, the modal template shouldn't have a parent template, since it's inserted into the <body>
-element directly.