File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Controller/Adminhtml/Product Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ protected function _construct()
5656 },
5757 loadProductData : function() {
5858 jQuery.ajax({
59- type: "POST ",
59+ type: "GET ",
6060 url: review.productInfoUrl,
6161 data: {
6262 form_key: FORM_KEY
Original file line number Diff line number Diff line change 55 */
66namespace Magento \Review \Controller \Adminhtml \Product ;
77
8- use Magento \Framework \App \Action \HttpPostActionInterface ;
8+ use Magento \Framework \App \Action \HttpGetActionInterface ;
99use Magento \Review \Controller \Adminhtml \Product as ProductController ;
1010use Magento \Backend \App \Action \Context ;
1111use Magento \Framework \Registry ;
1818/**
1919 * Represents product info in json
2020 */
21- class JsonProductInfo extends ProductController implements HttpPostActionInterface
21+ class JsonProductInfo extends ProductController implements HttpGetActionInterface
2222{
2323 /**
2424 * @var \Magento\Catalog\Api\ProductRepositoryInterface
You can’t perform that action at this time.
0 commit comments