* Add load all user to create bug page.

This commit is contained in:
wangyuting
2024-01-18 16:38:55 +08:00
parent aa26d58841
commit d1d444236c
5 changed files with 12 additions and 11 deletions
+2 -5
View File
@@ -21,6 +21,7 @@ $fields->autoLoad('product', 'product,module,openedBuild,execution,project,story
->autoLoad('project', 'project,openedBuild,execution,story,task,assignedTo')
->autoLoad('execution', 'execution,openedBuild,story,task,assignedTo')
->autoLoad('allBuilds', 'openedBuild')
->autoLoad('allUsers', 'assignedTo')
->autoLoad('region', 'lane');
jsVar('bug', $bug);
@@ -35,9 +36,5 @@ formGridPanel
set::title($lang->bug->create),
set::fields($fields),
set::fullModeOrders('module,project,execution'),
set::loadUrl($loadUrl),
on::click('#allBuilds', 'loadAllBuilds'),
on::click('#allUsers', 'loadAllUsers'),
on::click('#refreshExecutionBuild', 'refreshExecutionBuild'),
on::click('#refreshProductBuild', 'refreshProductBuild'),
set::loadUrl($loadUrl)
);