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
 - fixed code style
  • Loading branch information
Oleksii Korshenko committed Jun 15, 2017
1 parent 672fe92 commit 8a2033c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/web/mage/adminhtml/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +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');
inputs = target.select('input', 'select', 'td');
}
} else {
inputs = false;
Expand Down Expand Up @@ -534,6 +535,7 @@ define([

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

if (target.type === 'fieldset') {
rowElement = target;
}
Expand Down

0 comments on commit 8a2033c

Please sign in to comment.