mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-27 10:00:41 +00:00
fix folder parameter to hook 'folderRowAction'
This commit is contained in:
parent
13fd205b55
commit
fc2e6e217c
|
|
@ -3484,7 +3484,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
$hookObjs = $this->getHookObjects();
|
$hookObjs = $this->getHookObjects();
|
||||||
foreach($hookObjs as $hookObj) {
|
foreach($hookObjs as $hookObj) {
|
||||||
if (method_exists($hookObj, 'folderRowAction')) {
|
if (method_exists($hookObj, 'folderRowAction')) {
|
||||||
$actions = $hookObj->folderRowAction($this, $folder, $actions);
|
$actions = $hookObj->folderRowAction($this, $subFolder, $actions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3586,7 +3586,7 @@ $('body').on('click', '[id^=\"table-row-folder\"] td:nth-child(2)', function(ev)
|
||||||
$hookObjs = $this->getHookObjects();
|
$hookObjs = $this->getHookObjects();
|
||||||
foreach($hookObjs as $hookObj) {
|
foreach($hookObjs as $hookObj) {
|
||||||
if (method_exists($hookObj, 'folderRowAction')) {
|
if (method_exists($hookObj, 'folderRowAction')) {
|
||||||
$actions = $hookObj->folderRowAction($this, $folder, $actions);
|
$actions = $hookObj->folderRowAction($this, $subFolder, $actions);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user