Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 8460e4e

Browse files
author
Alexander Akimov
authored
Merge pull request #3221 from magento-tsg-csl3/2.3-develop-pr9
[TSG-CSL3] Forwardporting 2.3 (pr9)
2 parents 6e05396 + 8fe71d7 commit 8460e4e

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private function getCacheManager()
118118
}
119119

120120
/**
121-
* {@inheritdoc}
121+
* @inheritdoc
122122
* @since 101.0.0
123123
*/
124124
public function modifyMeta(array $meta)
@@ -130,7 +130,7 @@ public function modifyMeta(array $meta)
130130
}
131131

132132
/**
133-
* {@inheritdoc}
133+
* @inheritdoc
134134
* @since 101.0.0
135135
*/
136136
public function modifyData(array $data)
@@ -289,6 +289,7 @@ protected function customizeCategoriesField(array $meta)
289289
'source' => 'product_details',
290290
'displayArea' => 'insideGroup',
291291
'sortOrder' => 20,
292+
'dataScope' => $fieldCode,
292293
],
293294
],
294295
]

app/code/Magento/Sales/view/adminhtml/web/order/create/scripts.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ define([
4848
if (typeof controlButtonArea != 'undefined') {
4949
var buttons = controlButtonArea.childElements();
5050
for (var i = 0; i < buttons.length; i++) {
51-
if (buttons[i].innerHTML.include(button.label)) {
51+
if (buttons[i].innerHTML.include(button.getLabel())) {
5252
return;
5353
}
5454
}
@@ -1432,6 +1432,10 @@ define([
14321432
node.update('<span>' + this._label + '</span>');
14331433
content[position] = node;
14341434
Element.insert(element, content);
1435+
},
1436+
1437+
getLabel: function(){
1438+
return this._label;
14351439
}
14361440
};
14371441

lib/web/fotorama/fotorama.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2568,7 +2568,7 @@ fotoramaVersion = '4.6.4';
25682568
thisData.t > rightLimit : thisData.l > rightLimit;
25692569
specialMeasures.w = thisData.w;
25702570

2571-
if (thisData.l + thisData.w < leftLimit
2571+
if ((opts.navdir !== 'vertical' && thisData.l + thisData.w < leftLimit)
25722572
|| exceedLimit
25732573
|| callFit(thisData.$img, specialMeasures)) return;
25742574

0 commit comments

Comments
 (0)