File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
AdobeStockImageAdminUi/view/adminhtml/web/js
components/grid/column/preview Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ define([
319319 if ( this . isMediaBrowser ( ) ) {
320320 activeNode = this . getMageMediaBrowserData ( ) . activeNode ;
321321
322- activeNodePath = _ . isUndefined ( activeNode . path ) ? '' : activeNode . path ;
322+ activeNodePath = _ . isUndefined ( activeNode . original . path ) ? '' : activeNode . original . path ;
323323 } else {
324324 activeNodePath = this . imageDirectory ( ) . activeNode ( ) || '' ;
325325 }
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ define([
109109 folderPath = folderPath + '/' + folderPathParts [ i ] ;
110110 }
111111 pathId = Base64 . idEncode ( folderPath ) ;
112- openFolderButton = $ ( '.jstree li[data-id="' + pathId + '"]' ) . children ( '.jstree-icon' ) ;
112+ openFolderButton = $ ( '.jstree li[data-id="' + pathId + '"].jstree-closed ' ) . children ( '.jstree-icon' ) ;
113113
114114 if ( openFolderButton . length ) {
115115 openFolderButton . click ( ) ;
You can’t perform that action at this time.
0 commit comments