File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Catalog/Ui/DataProvider/Product/Form/Modifier
Sales/view/adminhtml/web/order/create Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff 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 ]
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments