Skip to content

Commit

Permalink
MAGETWO-69229: Fix depends per group in system.xml #9391
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Korshenko authored Jun 15, 2017
2 parents 2f80eea + 672fe92 commit 6345d6f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/web/mage/adminhtml/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ define([
if (target) {
inputs = target.up(this._config['levels_up']).select('input', 'select', 'td');
isAnInputOrSelect = ['input', 'select'].indexOf(target.tagName.toLowerCase()) != -1; //eslint-disable-line
if (target.type === 'fieldset') {
var inputs = target.select('input', 'select', 'td');
}
} else {
inputs = false;
isAnInputOrSelect = false;
Expand Down Expand Up @@ -531,6 +534,9 @@ define([

if (rowElement == undefined && target) { //eslint-disable-line eqeqeq
rowElement = target.up(this._config['levels_up']);
if (target.type === 'fieldset') {
rowElement = target;
}
}

if (rowElement) {
Expand Down

0 comments on commit 6345d6f

Please sign in to comment.