fix folder parameter to hook 'folderRowAction'

This commit is contained in:
Uwe Steinmann 2025-10-11 06:19:19 +02:00
parent 13fd205b55
commit fc2e6e217c
2 changed files with 2 additions and 2 deletions

View File

@ -3484,7 +3484,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$hookObjs = $this->getHookObjects();
foreach($hookObjs as $hookObj) {
if (method_exists($hookObj, 'folderRowAction')) {
$actions = $hookObj->folderRowAction($this, $folder, $actions);
$actions = $hookObj->folderRowAction($this, $subFolder, $actions);
}
}

View File

@ -3586,7 +3586,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
$hookObjs = $this->getHookObjects();
foreach($hookObjs as $hookObj) {
if (method_exists($hookObj, 'folderRowAction')) {
$actions = $hookObj->folderRowAction($this, $folder, $actions);
$actions = $hookObj->folderRowAction($this, $subFolder, $actions);
}
}