Skip to content

Commit 9a77515

Browse files
ENGCOM-6012: #24452 Category Admin UI does not save tree changes unless OK button is clicked #24817
- Merge Pull Request #24817 from MaxRomanov4669/magento2:24452-category-admin-ui-does-not-save-tree-changes-on-enter-button - Merged commits: 1. 033efa8
2 parents d69f3e8 + 033efa8 commit 9a77515

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)