Skip to content

Commit 68f8270

Browse files
author
Bohdan Korablov
committed
MAGETWO-51402: Fixed JS error when visibility of samples/links fieldset is changed
1 parent bd1c47b commit 68f8270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Downloadable/view/adminhtml/web/js/components/is-downloadable-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define([
2222
* Change visibility for samplesFieldset & linksFieldset based on current statuses of checkbox.
2323
*/
2424
changeVisibility: function () {
25-
if (this.samplesFieldset && this.linksFieldset) {
25+
if (this.samplesFieldset() && this.linksFieldset()) {
2626
if (this.checked() && !this.disabled()) {
2727
this.samplesFieldset().visible(true);
2828
this.linksFieldset().visible(true);

0 commit comments

Comments
 (0)