Remove all the object view control within the subnode control, whenever

we remove it.

It will remove all the events, controls, elements, etc associated with
the subnode control.
This commit is contained in:
Harshal Dhumal authored and Ashesh Vashi committed 2016-05-12 15:47:36 +05:30
1 parent 40a9490382
commit a4d981cced
1 file changed
+1 -1
@@ -139,7 +139,7 @@
return this;
},
remove: function() {
this.$dialog.modal("hide").remove();
this.objectView.remove();
Backgrid.CellEditor.prototype.remove.apply(this, arguments);
if (this.tr) {
this.tr.remove();