Skip to content

Commit c117c76

Browse files
committed
AC-9141: Review comments addressed
1 parent 9eb7432 commit c117c76

File tree

2 files changed

+10
-10
lines changed
  • app
    • code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/set
    • design/adminhtml/Magento/backend/web/css

2 files changed

+10
-10
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/set/main.phtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,12 @@ script;
439439
},
440440
441441
success: function (response) {
442-
if (response.error) {
442+
if (response.error || response.message) {
443443
jQuery("#messages").html(response.message);
444444
} else if (response.ajaxExpired && response.ajaxRedirect) {
445445
setLocation(response.ajaxRedirect);
446446
} else if (response.url) {
447447
setLocation(response.url);
448-
} else if (response.message) {
449-
jQuery("#messages").html(response.message);
450448
}
451449
},
452450

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,14 +1835,16 @@
18351835
// Js-tree styles
18361836
// --------------------------------------
18371837

1838-
.jstree-children .leaf .jstree-themeicon {
1839-
background: transparent url(../images/fam_leaf.png) no-repeat 0 50%;
1840-
width: 18px;
1841-
}
1838+
.jstree-children {
1839+
.leaf .jstree-themeicon {
1840+
background: transparent url(../images/fam_leaf.png) no-repeat 0 50%;
1841+
width: 18px;
1842+
}
18421843

1843-
.jstree-children .system-leaf .jstree-themeicon {
1844-
background: transparent url(../images/fam_application_form_delete.png) no-repeat 0 50%;
1845-
width: 18px;
1844+
.system-leaf .jstree-themeicon {
1845+
background: transparent url(../images/fam_application_form_delete.png) no-repeat 0 50%;
1846+
width: 18px;
1847+
}
18461848
}
18471849

18481850
//

0 commit comments

Comments
 (0)