Skip to content

Commit

Permalink
MAGETWO-37064: [GitHub] Wrong message when moving a category #1233
Browse files Browse the repository at this point in the history
  • Loading branch information
orlangur committed May 21, 2015
1 parent 805f0cb commit 07fa370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $categoryId = $block->getCategoryId();
<?php endif; ?>
<iframe name="iframeSave" style="display:none; width:100%;"
src="<?php echo $block->getViewFileUrl('blank.html') ?>"></iframe>
<form id="category_edit_form" name="category_edit_form" action="<?php echo $block->getSaveUrl() ?>" method="post"
<form id="category_edit_form" name="category-edit-form" action="<?php echo $block->getSaveUrl() ?>" method="post"
enctype="multipart/form-data">
<div class="no-display">
<input type="hidden" name="isIframe" value="1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 07fa370

Please sign in to comment.