Skip to content

Commit 07fa370

Browse files
committed
MAGETWO-37064: [GitHub] Wrong message when moving a category #1233
1 parent 805f0cb commit 07fa370

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/edit/form.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $categoryId = $block->getCategoryId();
3333
<?php endif; ?>
3434
<iframe name="iframeSave" style="display:none; width:100%;"
3535
src="<?php echo $block->getViewFileUrl('blank.html') ?>"></iframe>
36-
<form id="category_edit_form" name="category_edit_form" action="<?php echo $block->getSaveUrl() ?>" method="post"
36+
<form id="category_edit_form" name="category-edit-form" action="<?php echo $block->getSaveUrl() ?>" method="post"
3737
enctype="multipart/form-data">
3838
<div class="no-display">
3939
<input type="hidden" name="isIframe" value="1"/>

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ function categoryMove(obj) {
526526
showLoader: true
527527
}).done(function(data) {
528528
if (data.messages && data.messages.length > 0) {
529-
$('[name="category_edit_form"] .messages').html(data.messages);
529+
$('[name=category-edit-form] .messages').html(data.messages);
530530
}
531531
if (data.error) {
532532
reRenderTree();

0 commit comments

Comments
 (0)