Use setElement to ensure that re-parented views listen for events
FREEBIE
This commit is contained in:
@@ -272,6 +272,7 @@
|
|||||||
|
|
||||||
this.trigger('beforeChangeHeight');
|
this.trigger('beforeChangeHeight');
|
||||||
this.$('.attachments').append(view.el);
|
this.$('.attachments').append(view.el);
|
||||||
|
view.setElement(view.el);
|
||||||
this.trigger('afterChangeHeight');
|
this.trigger('afterChangeHeight');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user