Skip to content

Commit 6b21f6f

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-52699' into PR
2 parents 4d0be07 + 2e41989 commit 6b21f6f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/bundle-proxy-button.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,19 @@ define([
5454
return this;
5555
},
5656

57+
/**
58+
* Calls 'destroy' of parent and
59+
* clear listing provider source
60+
*
61+
* @returns {Object} Chainable.
62+
*/
63+
destroy: function () {
64+
this._super();
65+
this.source.set(this.listingDataProvider, []);
66+
67+
return this;
68+
},
69+
5770
/**
5871
* Call parent "action" method
5972
* and set new data to record and listing.

0 commit comments

Comments
 (0)