Skip to content

Not working with Ember 1.13.3 #30

@LexLythius

Description

@LexLythius

Simple modal example doesn't work for me.

Uncaught TypeError: Cannot read property 'modal1' of undefined
(anonymous function) @ modal-toggler.js:49

this line breaks:

return this.set('modal', Em['default'].View.views[this.get('modal-id')]);

So when I click the button, another error is thrown:
Uncaught TypeError: Cannot read property 'toggleVisibility' of undefined.

The problem is that Ember.View.views doesn't exist in this version.
I tried installing ember-legacy-views addon but no luck either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions