* finish task #3310.

This commit is contained in:
wangyidong
2017-11-03 13:22:27 +08:00
parent 254cc9a5ef
commit 38073d2ad7
15 changed files with 101 additions and 65 deletions
-8
View File
@@ -259,19 +259,11 @@ class custom extends control
unset($requiredFields['editLib']);
}
$fields = $this->custom->getDBFields($moduleName);
if($moduleName == 'testsuite')
{
$this->app->loadLang('testcase');
$this->view->caseFields = $this->custom->getDBFields('testcase');
}
$this->view->title = $this->lang->custom->required;
$this->view->position[] = $this->lang->custom->required;
$this->view->requiredFields = $requiredFields;
$this->view->moduleName = $moduleName;
$this->view->fields = $fields;
$this->display();
}