Skip to content

Commit b61eea7

Browse files
Merge branch 'MAGETWO-49021' of https://github.corp.magento.com/magento-tango/magento2ce into MAGETWO-48913
2 parents 16c4000 + fb605b9 commit b61eea7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,7 @@ protected function customizeAdvancedPricing()
579579
'componentType' => Modal::NAME,
580580
'dataScope' => '',
581581
'provider' => 'product_form.product_form_data_source',
582+
'onCancel' => 'actionCancel',
582583
'options' => [
583584
'title' => __('Advanced Pricing'),
584585
'buttons' => [

app/code/Magento/CatalogInventory/view/adminhtml/ui_component/product_form.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<item name="config" xsi:type="array">
1212
<item name="dataScope" xsi:type="string">data.product</item>
1313
<item name="provider" xsi:type="string">product_form.product_form_data_source</item>
14+
<item name="onCancel" xsi:type="string">actionCancel</item>
1415
<item name="options" xsi:type="array">
1516
<item name="title" xsi:type="string">Advanced Inventory</item>
1617
<item name="buttons" xsi:type="array">

0 commit comments

Comments
 (0)