Skip to content

Commit a1ab4d2

Browse files
author
Andrii Lugovyi
committed
MAGETWO-43891: Expanded 'Downloadable Information' tab with active 'Is this downloadable Product?' checkbox if create virtual product
- fix configurable
1 parent 43d0e23 commit a1ab4d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/configurable-type-handler.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,12 @@ define([
5858
var suggestContainer = $('#product-template-suggest-container .action-dropdown > .action-toggle');
5959
if (productType.type.current === 'configurable') {
6060
suggestContainer.addClass('disabled').prop('disabled', true);
61-
this.$block.prop('disabled', false);
6261
$('#inventory_qty').prop('disabled', true);
6362
$('#inventory_stock_availability').removeProp('disabled');
6463
this._setElementDisabled($('#qty'), true, true);
6564
this._setElementDisabled($('#quantity_and_stock_status'), false, false);
6665
} else {
6766
suggestContainer.removeClass('disabled').removeProp('disabled');
68-
this.$block.prop('disabled', true);
6967
$('#inventory_qty').removeProp('disabled');
7068
$('#inventory_stock_availability').prop('disabled', true);
7169
this._setElementDisabled($('#quantity_and_stock_status'), true, false);

0 commit comments

Comments
 (0)