Skip to content

event.source.itemScope is undefined #347

@noullet

Description

@noullet

Hi,

Since 1.3.7, event.source.itemScope is undefined when accessed in orderChanged and itemMoved.

The change 29b56a1 motivated by #93 is the cause of this issue.

In my case, I want to get the model value:

orderChanged: function(event) {
    var model = event.source.itemScope.modelValue;
    // ...
},

And here is what I get:

angular.js:13920 TypeError: Cannot read property 'modelValue' of undefined

I don't think I'm doing anything special but I am surprised that this issue hasn't be raised yet. Please tell me if you can't reproduce it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions