Open
Description
I'm trying to create a custom bodyViewClass to replace the default modal body class which is too simple for my needs. Whenever I try to set a templateName, however, I get the following error:
Uncaught Error: assertion failed: You specified the templateName vehicle/price/net-reduction for <(subclass of Ember.View):ember1414>, but it did not exist.
I can use the same templateName elsewhere in the app and it displays just fine. This only comes up in the ModalPane instance. Below is the code for the ModalPane:
Bootstrap.ModalPane.popup({
heading: 'Net Reduction',
message: 'test',
bodyViewClass: Ember.View.extend({
templateName: 'vehicle/price/net-reduction'
}),
primary: 'Submit',
secondary: 'Cancel',
showBackdrop: true,
callback: function(opts, event) {
}
});
Metadata
Metadata
Assignees
Labels
No labels