* Adjust code.
This commit is contained in:
@@ -490,6 +490,15 @@ $(function()
|
||||
return false;
|
||||
}
|
||||
})
|
||||
|
||||
/* If the product line is selected, the product and project are selected by default. */
|
||||
$('[id^=productLines]').each(function()
|
||||
{
|
||||
if($(this).prop('checked'))
|
||||
{
|
||||
$('[data-line=' + $(this).val() +']').prop('checked', true);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
$('[name^=products]').change(function()
|
||||
|
||||
@@ -4246,7 +4246,7 @@ class upgradeModel extends model
|
||||
public function createProgram($productIdList = array(), $projectIdList = array())
|
||||
{
|
||||
$this->app->loadLang('program');
|
||||
$data = fixer::input('post')->get();
|
||||
$data = fixer::input('post')->get();
|
||||
$account = isset($this->app->user->account) ? $this->app->user->account : '';
|
||||
|
||||
if(isset($data->newProgram))
|
||||
|
||||
Reference in New Issue
Block a user