Skip to content

Commit 79c1f92

Browse files
authored
ENGCOM-6012: #24452 Category Admin UI does not save tree changes unless OK button is clicked #24817
2 parents b1cad8d + 9a77515 commit 79c1f92

File tree

1 file changed

+7
-2
lines changed
  • app/code/Magento/Catalog/view/adminhtml/templates/catalog/category

1 file changed

+7
-2
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,13 @@
507507
})(jQuery);
508508
this.closeModal();
509509
}
510-
}]
511-
510+
}],
511+
keyEventHandlers: {
512+
enterKey: function (event) {
513+
this.buttons[1].click();
514+
event.preventDefault();
515+
}
516+
}
512517
}).trigger('openModal');
513518

514519
}

0 commit comments

Comments
 (0)