Skip to content

Commit 8a2033c

Browse files
author
Oleksii Korshenko
committed
MAGETWO-69229: Fix depends per group in system.xml #9391
- fixed code style
1 parent 672fe92 commit 8a2033c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/web/mage/adminhtml/form.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,9 @@ define([
453453
if (target) {
454454
inputs = target.up(this._config['levels_up']).select('input', 'select', 'td');
455455
isAnInputOrSelect = ['input', 'select'].indexOf(target.tagName.toLowerCase()) != -1; //eslint-disable-line
456+
456457
if (target.type === 'fieldset') {
457-
var inputs = target.select('input', 'select', 'td');
458+
inputs = target.select('input', 'select', 'td');
458459
}
459460
} else {
460461
inputs = false;
@@ -534,6 +535,7 @@ define([
534535

535536
if (rowElement == undefined && target) { //eslint-disable-line eqeqeq
536537
rowElement = target.up(this._config['levels_up']);
538+
537539
if (target.type === 'fieldset') {
538540
rowElement = target;
539541
}

0 commit comments

Comments
 (0)