Skip to content

Commit

Permalink
Merge pull request #3221 from magento-tsg-csl3/2.3-develop-pr9
Browse files Browse the repository at this point in the history
[TSG-CSL3] Forwardporting 2.3 (pr9)
  • Loading branch information
Alexander Akimov authored Sep 28, 2018
2 parents 6e05396 + 8fe71d7 commit 8460e4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ private function getCacheManager()
}

/**
* {@inheritdoc}
* @inheritdoc
* @since 101.0.0
*/
public function modifyMeta(array $meta)
Expand All @@ -130,7 +130,7 @@ public function modifyMeta(array $meta)
}

/**
* {@inheritdoc}
* @inheritdoc
* @since 101.0.0
*/
public function modifyData(array $data)
Expand Down Expand Up @@ -289,6 +289,7 @@ protected function customizeCategoriesField(array $meta)
'source' => 'product_details',
'displayArea' => 'insideGroup',
'sortOrder' => 20,
'dataScope' => $fieldCode,
],
],
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ define([
if (typeof controlButtonArea != 'undefined') {
var buttons = controlButtonArea.childElements();
for (var i = 0; i < buttons.length; i++) {
if (buttons[i].innerHTML.include(button.label)) {
if (buttons[i].innerHTML.include(button.getLabel())) {
return;
}
}
Expand Down Expand Up @@ -1432,6 +1432,10 @@ define([
node.update('<span>' + this._label + '</span>');
content[position] = node;
Element.insert(element, content);
},

getLabel: function(){
return this._label;
}
};

Expand Down
2 changes: 1 addition & 1 deletion lib/web/fotorama/fotorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,7 @@ fotoramaVersion = '4.6.4';
thisData.t > rightLimit : thisData.l > rightLimit;
specialMeasures.w = thisData.w;

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

Expand Down

0 comments on commit 8460e4e

Please sign in to comment.