This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 3 files changed +9
-4
lines changed
Catalog/Ui/DataProvider/Product/Form/Modifier
Sales/view/adminhtml/web/order/create
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ private function getCacheManager()
118
118
}
119
119
120
120
/**
121
- * { @inheritdoc}
121
+ * @inheritdoc
122
122
* @since 101.0.0
123
123
*/
124
124
public function modifyMeta (array $ meta )
@@ -130,7 +130,7 @@ public function modifyMeta(array $meta)
130
130
}
131
131
132
132
/**
133
- * { @inheritdoc}
133
+ * @inheritdoc
134
134
* @since 101.0.0
135
135
*/
136
136
public function modifyData (array $ data )
@@ -289,6 +289,7 @@ protected function customizeCategoriesField(array $meta)
289
289
'source ' => 'product_details ' ,
290
290
'displayArea ' => 'insideGroup ' ,
291
291
'sortOrder ' => 20 ,
292
+ 'dataScope ' => $ fieldCode ,
292
293
],
293
294
],
294
295
]
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ define([
48
48
if ( typeof controlButtonArea != 'undefined' ) {
49
49
var buttons = controlButtonArea . childElements ( ) ;
50
50
for ( var i = 0 ; i < buttons . length ; i ++ ) {
51
- if ( buttons [ i ] . innerHTML . include ( button . label ) ) {
51
+ if ( buttons [ i ] . innerHTML . include ( button . getLabel ( ) ) ) {
52
52
return ;
53
53
}
54
54
}
@@ -1432,6 +1432,10 @@ define([
1432
1432
node . update ( '<span>' + this . _label + '</span>' ) ;
1433
1433
content [ position ] = node ;
1434
1434
Element . insert ( element , content ) ;
1435
+ } ,
1436
+
1437
+ getLabel : function ( ) {
1438
+ return this . _label ;
1435
1439
}
1436
1440
} ;
1437
1441
Original file line number Diff line number Diff line change @@ -2568,7 +2568,7 @@ fotoramaVersion = '4.6.4';
2568
2568
thisData . t > rightLimit : thisData . l > rightLimit ;
2569
2569
specialMeasures . w = thisData . w ;
2570
2570
2571
- if ( thisData . l + thisData . w < leftLimit
2571
+ if ( ( opts . navdir !== 'vertical' && thisData . l + thisData . w < leftLimit )
2572
2572
|| exceedLimit
2573
2573
|| callFit ( thisData . $img , specialMeasures ) ) return ;
2574
2574
You can’t perform that action at this time.
0 commit comments