Properly remove any event listeners added by subnode control.
parent
ac4178233b
commit
415119d581
|
|
@ -1206,6 +1206,9 @@
|
|||
if (this.grid) {
|
||||
this.grid.remove();
|
||||
}
|
||||
if (this.collection) {
|
||||
this.collection.off( "enteringEditMode");
|
||||
}
|
||||
},
|
||||
clearInvalid: function() {
|
||||
this.$el.removeClass('subnode-error');
|
||||
|
|
|
|||
Loading…
Reference in New Issue