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
2016-05-12 15:47:12 +05:30
committed by Ashesh Vashi
parent 40a9490382
commit a4d981cced

View File

@@ -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();