Skip to content

Commit 3232138

Browse files
author
Denys Rul
committed
Merge branch 'MAGETWO-31191' of https://github.corp.ebay.com/magento-vanilla/magento2ce into MAGETWO-31191
2 parents 047566a + b223f6d commit 3232138

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ require([
8989
$('.page-actions').floatingHeader({
9090
'title': '.category-edit-title'
9191
});
92+
$('body').trigger('contentUpdated');
9293
try {
9394
if (refreshTree) {
9495
window.refreshTreeArea();

lib/web/mage/backend/validation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,9 @@
233233
'validate-downloadable-file': [
234234
function (v, element) {
235235
var elmParent = $(element).parent(),
236-
linkType = elmParent.find('input[value="file"]');
236+
linkType = elmParent.find('input[value="file"]'),
237+
newFileContainer;
238+
237239
if (linkType.is(':checked') && (v === '' || v === '[]')) {
238240
newFileContainer = elmParent.find('.new-file');
239241
if (!alertAlreadyDisplayed && (newFileContainer.empty() || newFileContainer.is(':visible'))) {

0 commit comments

Comments
 (0)