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.
pull/3/head
Harshal Dhumal 2016-05-12 15:47:12 +05:30 committed by Ashesh Vashi
parent 40a9490382
commit a4d981cced
1 changed files with 1 additions and 1 deletions

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