css - Ember modal only shows overlay -


i'm having trouble showing modal ember. i've followed cookbook when click button modal, shows overlay , not modal itself.

here's gist: https://gist.github.com/sunocean-sand/e11111cea44274417012

i appreciate help!

i've got similar implementation in 1 of apps. try changing routes/application.js code below. believe problem you're not using bootstrap's programmatic api.

export default ember.route.extend({   actions: {     openmodal: function(modal) {       this.render(modal, {         into: 'application',         outlet: 'modal'       });       return ember.run.schedule('afterrender', function() {         ember.$('.modal').modal('show');       });     },      closemodal: function() {       ember.$('.modal').modal('hide');       return this.disconnectoutlet({         outlet: 'modal',         parentview: 'application'       });     }   } }); 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -