We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 76dad58 + e9b144f commit b8dba9bCopy full SHA for b8dba9b
app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/variations.js
@@ -276,12 +276,12 @@ define([
276
var element;
277
278
_.each(this.disabledAttributes, function (attribute) {
279
- registry.get('index = ' + attribute).disabled(false);
+ registry.get('code = ' + attribute, 'index = ' + attribute).disabled(false);
280
});
281
this.disabledAttributes = [];
282
283
_.each(attributes, function (attribute) {
284
- element = registry.get('index = ' + attribute.code);
+ element = registry.get('code = ' + attribute.code, 'index = ' + attribute.code);
285
if (!_.isUndefined(element)) {
286
element.disabled(true);
287
this.disabledAttributes.push(attribute.code);
0 commit comments