Skip to content

Commit

Permalink
magento#12294: Bug: Adding Custom Attribute - The value of Admin scop…
Browse files Browse the repository at this point in the history
…e can't be empty- Made hidden fields disabled.
  • Loading branch information
virtual97 authored and codekipple committed Jan 8, 2018
1 parent c1e7693 commit 2e48e25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/view/adminhtml/web/js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ define([
element.addClassName('no-display');
element.addClassName('template');
element.hide();
jQuery(element).find('input').each(function(index, el) {
el.disabled = 'disabled';
});
this.totalItems--;
this.updateItemsCountField();
}
Expand Down

0 comments on commit 2e48e25

Please sign in to comment.