Skip to content

Commit 878f5cc

Browse files
committed
MAGETWO-86968: Add MediaGalleryImage Component to Category page
Add use_storage_root param to deleteFolderUrl
1 parent 66e9468 commit 878f5cc

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images

1 file changed

+3
-1
lines changed

app/code/Magento/Cms/Block/Adminhtml/Wysiwyg/Images/Content.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ public function getNewfolderUrl()
143143
*/
144144
protected function getDeletefolderUrl()
145145
{
146-
return $this->getUrl('cms/*/deleteFolder');
146+
return $this->getUrl('cms/*/deleteFolder', [
147+
'use_storage_root' => (int) $this->getRequest()->getParam('use_storage_root'),
148+
]);
147149
}
148150

149151
/**

0 commit comments

Comments
 (0)