File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/code/Magento/Catalog/view/adminhtml/templates/catalog/category Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ require([
89
89
$('.page-actions').floatingHeader({
90
90
'title': '.category-edit-title'
91
91
});
92
+ $('body').trigger('contentUpdated');
92
93
try {
93
94
if (refreshTree) {
94
95
window.refreshTreeArea();
Original file line number Diff line number Diff line change 233
233
'validate-downloadable-file' : [
234
234
function ( v , element ) {
235
235
var elmParent = $ ( element ) . parent ( ) ,
236
- linkType = elmParent . find ( 'input[value="file"]' ) ;
236
+ linkType = elmParent . find ( 'input[value="file"]' ) ,
237
+ newFileContainer ;
238
+
237
239
if ( linkType . is ( ':checked' ) && ( v === '' || v === '[]' ) ) {
238
240
newFileContainer = elmParent . find ( '.new-file' ) ;
239
241
if ( ! alertAlreadyDisplayed && ( newFileContainer . empty ( ) || newFileContainer . is ( ':visible' ) ) ) {
You can’t perform that action at this time.
0 commit comments