From 07fa3708b2d64bc08c47e5a696079be1a63755d4 Mon Sep 17 00:00:00 2001 From: Vlad Veselov Date: Thu, 21 May 2015 14:17:47 -0400 Subject: [PATCH] MAGETWO-37064: [GitHub] Wrong message when moving a category #1233 --- .../view/adminhtml/templates/catalog/category/edit/form.phtml | 2 +- .../view/adminhtml/templates/catalog/category/tree.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/edit/form.phtml b/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/edit/form.phtml index 941cb0687dd56..6afb5df3690d6 100644 --- a/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/edit/form.phtml +++ b/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/edit/form.phtml @@ -33,7 +33,7 @@ $categoryId = $block->getCategoryId(); -
diff --git a/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml b/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml index fde0eda924623..ade5b5af57950 100644 --- a/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml +++ b/app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml @@ -526,7 +526,7 @@ function categoryMove(obj) { showLoader: true }).done(function(data) { if (data.messages && data.messages.length > 0) { - $('[name="category_edit_form"] .messages').html(data.messages); + $('[name=category-edit-form] .messages').html(data.messages); } if (data.error) { reRenderTree();