I passed quite some time on it and it seems to me that list instances or even list models don't receive events when something happens to a model instance.
Did someone notice the same?
I'll try to narrow it in order to present the simplest case. In the meantime here is an example:
- "{projectListInstance} add":function(list, ev, items)
- {
- // do some stuff here
- },
and
- "{Project} created":function(Project, ev, project)
- {
- this.options.projectListInstance.push(project);
- },
For me this second part should not be necessary if the model were triggering an 'add' event on the list. But when I remove this second part, nothing happens.
I also tried on the model with same result:
- "{projectListModel} add":function(list, ev, items) // this.options.projectListModel = Project.List
- {...
So I am tweaking the list myself through the model instance event notification.
If someone could clarify or has see the same 'issue' (if it is one) as I, that'd be awsome.