+ Add setAppObjectID of program.
This commit is contained in:
@@ -102,6 +102,7 @@ class program extends control
|
||||
if(empty($program) || $program->type != 'program') die(js::error($this->lang->notFound) . js::locate('back'));
|
||||
|
||||
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
|
||||
commonModel::setAppObjectID('program', $programID);
|
||||
|
||||
/* Load pager and get tasks. */
|
||||
$this->app->loadClass('pager', $static = true);
|
||||
@@ -395,6 +396,7 @@ class program extends control
|
||||
$this->app->session->set('projectList', $this->app->getURI(true));
|
||||
|
||||
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
|
||||
commonModel::setAppObjectID('program', $programID);
|
||||
|
||||
$this->loadModel('datatable');
|
||||
|
||||
@@ -435,6 +437,7 @@ class program extends control
|
||||
public function stakeholder($programID = 0, $orderBy = 't1.id_desc', $recTotal = 0, $recPerPage = 15, $pageID = 1)
|
||||
{
|
||||
$this->lang->program->switcherMenu = $this->program->getSwitcher($programID, true);
|
||||
commonModel::setAppObjectID('program', $programID);
|
||||
|
||||
/* Load pager and get tasks. */
|
||||
$this->app->loadClass('pager', $static = true);
|
||||
|
||||
Reference in New Issue
Block a user