Skip to content

Commit

Permalink
#8830: Can`t delete row in dynamicRows component
Browse files Browse the repository at this point in the history
- fix case when dnd disabled
  • Loading branch information
omiroshnichenko committed Dec 26, 2017
1 parent 568d36e commit 0a72897
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ define([

/** @inheritdoc */
destroy: function () {
this.dnd().destroy();
if (this.dnd()) {
this.dnd().destroy();
}
this._super();
},

Expand Down

0 comments on commit 0a72897

Please sign in to comment.