mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix board list config not being copied
This commit is contained in:
parent
7bbb03d835
commit
01984210b6
2 changed files with 18 additions and 0 deletions
|
|
@ -842,6 +842,23 @@ class BoardController extends Board
|
|||
$oMemberController->addMemberPopupMenu($url, 'cmd_view_own_document', '', 'self', 'board_own_document');
|
||||
}
|
||||
|
||||
/**
|
||||
* Trigger called at module copy
|
||||
*/
|
||||
public function triggerCopyModule(&$obj)
|
||||
{
|
||||
$board_config = ModuleModel::getModulePartConfig('board', $obj->originModuleSrl);
|
||||
|
||||
$oModuleController = ModuleController::getInstance();
|
||||
if (is_array($obj->moduleSrlList))
|
||||
{
|
||||
foreach ($obj->moduleSrlList as $module_srl)
|
||||
{
|
||||
$oModuleController->insertModulePartConfig('board', $module_srl, $board_config);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an anonymous nickname.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue