From 1f3a84448e69e36b374b62abf482aef706a731ba Mon Sep 17 00:00:00 2001 From: Olga Nakonechna Date: Fri, 12 Aug 2016 13:32:24 +0300 Subject: [PATCH 01/12] MAGETWO-55234: Image does not save when edited via right-click and "Insert/Edit Image" --- lib/web/tiny_mce/plugins/advimage/js/image.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/web/tiny_mce/plugins/advimage/js/image.js b/lib/web/tiny_mce/plugins/advimage/js/image.js index 7e3cf00eb003c..f87c40ff8fce4 100644 --- a/lib/web/tiny_mce/plugins/advimage/js/image.js +++ b/lib/web/tiny_mce/plugins/advimage/js/image.js @@ -184,6 +184,7 @@ var ImageDialog = { tinyMCEPopup.editor.execCommand('mceRepaint'); tinyMCEPopup.editor.focus(); tinyMCEPopup.close(); + ed.onChange.dispatch(ed); }, getAttrib : function(e, at) { From 3278cd79252c43d24a1ecf5e511e0665fc30bf1a Mon Sep 17 00:00:00 2001 From: Olga Nakonechna Date: Mon, 15 Aug 2016 13:15:55 +0300 Subject: [PATCH 02/12] MAGETWO-53135: [GITHUB] Prices of related products on PDP changes according to product custom options. #4588 --- .../Catalog/view/frontend/templates/product/view/form.phtml | 4 +++- .../view/frontend/templates/product/view/options.phtml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/view/form.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/view/form.phtml index f6dd2a0033fd4..f23544a7734fb 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/view/form.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/view/form.phtml @@ -42,7 +42,9 @@ 'jquery', 'Magento_Catalog/js/price-box' ], function($){ - var priceBoxes = $('[data-role=priceBox]'); + var dataPriceBoxSelector = '[data-role=priceBox]', + dataProductIdSelector = '[data-product-id=escapeHtml($_product->getId());?>]', + priceBoxes = $(dataPriceBoxSelector + dataProductIdSelector); priceBoxes = priceBoxes.filter(function(index, elem){ return !$(elem).find('.price-from').length; diff --git a/app/code/Magento/Catalog/view/frontend/templates/product/view/options.phtml b/app/code/Magento/Catalog/view/frontend/templates/product/view/options.phtml index 97f844067f068..ec8f3c86483c9 100644 --- a/app/code/Magento/Catalog/view/frontend/templates/product/view/options.phtml +++ b/app/code/Magento/Catalog/view/frontend/templates/product/view/options.phtml @@ -10,6 +10,7 @@ ?> decorateArray($block->getOptions()) ?> +getProduct()->getId() ?>