Skip to content

Commit 8189449

Browse files
committed
24151 : fix js issue for payment config search
1 parent cac46e0 commit 8189449

File tree

1 file changed

+6
-0
lines changed
  • app/code/Magento/Config/view/adminhtml/templates/system/config

1 file changed

+6
-0
lines changed

app/code/Magento/Config/view/adminhtml/templates/system/config/edit.phtml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,16 @@ require([
5858

5959
var parentSection = groupElement.parents('.section-config');
6060
parentSection.addClass('highlighted');
61+
parentSection.addClass('active');
6162
setTimeout(function() {
6263
parentSection.removeClass('highlighted', 2000, "easeInBack");
6364
}, 3000);
6465
if (!parentSection.hasClass('active')) {
66+
if(section == 'payment') {
67+
var openSection = jQuery('.open').first().attr('id');
68+
var splitIdArray = openSection.split('_');
69+
section = section + '_' + splitIdArray[1];
70+
}
6571
Fieldset.toggleCollapse(section + '_' + group);
6672
}
6773
}

0 commit comments

Comments
 (0)