ember-addons / bootstrap-for-ember

Bootstrap for Ember.js
http://ember-addons.github.io/bootstrap-for-ember
Apache License 2.0
704 stars 103 forks source link

ModalManager not working with ember 1.6 beta or up #116

Closed maartendraijer closed 10 years ago

maartendraijer commented 10 years ago

When using the ModalManager (Bootstrap.ModalManager.open()) you get the following error when using ember 1.6 beta or up:

Uncaught TypeError: Cannot read property 'set' of null ember.js?body=1:6472 set ember.js?body=1:6472 Mixin.create.set ember.js?body=1:18089 Bootstrap.BsButtonComponent.Ember.Component.extend.init bs-button.min.js?body=1:1 apply ember.js?body=1:7984 superWrapper ember.js?body=1:7573 apply ember.js?body=1:7984 Class ember.js?body=1:19591 Mixin.create.create ember.js?body=1:20029 CoreView.extend.createChildView ember.js?body=1:27444 merge.appendChild ember.js?body=1:25061 CoreView.extend.appendChild ember.js?body=1:27317 EmberObject.create.helper ember.js?body=1:32924 viewHelper ember.js?body=1:33104 (anonymous function) ember.js?body=1:28469 h bs-modal.min.js?body=1:1 prog handlebars.js?body=1:469 CoreView.extend.render ember.js?body=1:26516 EmberObject.extend._renderToBuffer ember.js?body=1:25434 apply ember.js?body=1:7987 superFunction ember.js?body=1:4700 CoreView.extend._renderToBuffer ember.js?body=1:27122 apply ember.js?body=1:7987 superWrapper ember.js?body=1:7573 instrumentRenderToBuffer ember.js?body=1:25415 instrument ember.js?body=1:3626 EmberObject.extend.renderToBuffer ember.js?body=1:25414 (anonymous function) ember.js?body=1:24617 CoreView.extend.forEachChildView ember.js?body=1:26792 View.extend.render ember.js?body=1:24616 apply ember.js?body=1:7986 superWrapper ember.js?body=1:7573 EmberObject.extend._renderToBuffer ember.js?body=1:25434 apply ember.js?body=1:7987 superFunction ember.js?body=1:4700 CoreView.extend._renderToBuffer ember.js?body=1:27122 apply ember.js?body=1:7987 superWrapper ember.js?body=1:7573 instrumentRenderToBuffer ember.js?body=1:25415 instrument ember.js?body=1:3626 EmberObject.extend.renderToBuffer ember.js?body=1:25414 merge.appendChild ember.js?body=1:25065 CoreView.extend.appendChild ember.js?body=1:27317 EmberObject.create.helper ember.js?body=1:32924 viewHelper ember.js?body=1:33104 collectionHelper ember.js?body=1:31840 eachHelper ember.js?body=1:32410 (anonymous function) bs-modal.min.js?body=1:1 (anonymous function) handlebars.js?body=1:437 CoreView.extend.render ember.js?body=1:26516 EmberObject.extend._renderToBuffer ember.js?body=1:25434 apply ember.js?body=1:7987 superFunction ember.js?body=1:4700 CoreView.extend._renderToBuffer ember.js?body=1:27122 apply ember.js?body=1:7987 superWrapper ember.js?body=1:7573 instrumentRenderToBuffer ember.js?body=1:25415 instrument ember.js?body=1:3626 EmberObject.extend.renderToBuffer ember.js?body=1:25414 CoreView.extend.createElement ember.js?body=1:26955 merge.insertElement ember.js?body=1:25185 CoreView.extend._insertElement ember.js?body=1:26883 DeferredActionQueues.invoke ember.js?body=1:8594 DeferredActionQueues.flush ember.js?body=1:8646 Backburner.end ember.js?body=1:8099 Backburner.run ember.js?body=1:8156 apply ember.js?body=1:7986 run ember.js?body=1:6634 handleRegisteredAction ember.js?body=1:34492 (anonymous function) ember.js?body=1:22802 jQuery.event.dispatch jquery.js?body=1:4625 elemData.handle jquery.js?body=1:4294

richardjwoodward commented 10 years ago

Looks like this is resolved but after the 0.6.1 release ... Issue https://github.com/ember-addons/bootstrap-for-ember/issues/102

maartendraijer commented 10 years ago

Nope, for me it's not. I'm using the most recent stable release of Bootstrap for Ember.

smcclstocks commented 10 years ago

i get the same error after going to emberjs 1.6 beta-3

maartendraijer commented 10 years ago

With the latest version of Bootstrap for Ember (0.7.0) this issue has been fixed. Thanks!