Skip to content

Commit 5e365a0

Browse files
committed
Correct current_tree_path decode method
1 parent 93f2144 commit 5e365a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ define([
7878
'/type/image/?isAjax=true';
7979

8080
if (this.mediaGallery.initialOpenSubpath) {
81-
openDialogUrl += '&current_tree_path=' + Base64.mageEncode(this.mediaGallery.initialOpenSubpath);
81+
openDialogUrl += '&current_tree_path=' + Base64.idEncode(this.mediaGallery.initialOpenSubpath);
8282
}
8383

8484
browser.openDialog(

0 commit comments

Comments
 (0)