Skip to content

Commit 54c141d

Browse files
[EngCom] Public Pull Requests - 2.3-develop
- merged latest code from mainline branch
2 parents 14e1964 + c804fc0 commit 54c141d

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

app/code/Magento/ReleaseNotification/Ui/DataProvider/Modifier/Notifications.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,9 @@ private function hideNotification(array $meta)
192192
*/
193193
private function getNotificationContent()
194194
{
195-
$version = $this->getTargetVersion();
196-
$edition = $this->productMetadata->getEdition();
197-
$locale = $this->session->getUser()->getInterfaceLocale();
195+
$version = strtolower($this->getTargetVersion());
196+
$edition = strtolower($this->productMetadata->getEdition());
197+
$locale = strtolower($this->session->getUser()->getInterfaceLocale());
198198

199199
$cacheKey = self::$cachePrefix . $version . "-" . $edition . "-" . $locale;
200200
$modalContent = $this->cacheStorage->load($cacheKey);

app/code/Magento/ReleaseNotification/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<default>
1010
<system>
1111
<release_notification>
12-
<content_url>raw.githubusercontent.com/magento-arcticfoxes/release-notification/master</content_url>
12+
<content_url>magento.com/release_notifications</content_url>
1313
<use_https>1</use_https>
1414
</release_notification>
1515
</system>

app/code/Magento/Ui/view/base/web/js/form/element/url-input.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ define([
133133
createChildUrlInputComponent: function (value) {
134134
var elementConfig;
135135

136-
if (_.isUndefined(this.linkedElementInstances[value])) {
136+
if (!_.isEmpty(value) && _.isUndefined(this.linkedElementInstances[value])) {
137137
elementConfig = this.urlTypes[value];
138138
layout([elementConfig]);
139139
this.linkedElementInstances[value] = this.requestModule(elementConfig.name);

app/code/Magento/Ui/view/base/web/js/lib/key-codes.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ define([], function () {
2020
39: 'pageRightKey',
2121
17: 'ctrlKey',
2222
18: 'altKey',
23-
16: 'shiftKey'
23+
16: 'shiftKey',
24+
66: 'bKey',
25+
73: 'iKey',
26+
85: 'uKey'
2427
};
2528
});

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Customer/Test/AdminCreateCustomerTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<testCaseId value="MAGETWO-72095"/>
1919
<group value="customer"/>
2020
<group value="create"/>
21+
<group value="skip"/>
2122
</annotations>
2223
<after>
2324
<amOnPage url="admin/admin/auth/logout/" stepKey="amOnLogoutPage"/>

lib/web/jquery/jstree/jquery.hotkeys.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,12 @@
4848

4949
handleObj.handler = function( event ) {
5050
// Don't fire in text-accepting inputs that we didn't directly bind to
51+
/**
52+
* Modified by Magento to ensure it doesn't fire on any content editable areas. This library is no
53+
* longer maintained by its author however we require content editable to behave as expected.
54+
*/
5155
if ( this !== event.target && (/textarea|select/i.test( event.target.nodeName ) ||
52-
event.target.type === "text") ) {
56+
event.target.type === "text" || jQuery(event.target).attr('contenteditable')) ) {
5357
return;
5458
}
5559

0 commit comments

Comments
 (0)