* [task#129231,done,2h] the task view pop-up window opens by default.

This commit is contained in:
tianshujie
2024-10-09 09:08:46 +08:00
committed by 刘刚
parent 010c40459e
commit 9afa6f748e
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -1,3 +1,14 @@
$(function()
{
if(taskToOpen)
{
window.waitDom('.card-list-item[z-key="' + taskToOpen + '"] .icon-checked + a', function()
{
$('.card-list-item[z-key="' + taskToOpen + '"] .icon-checked + a').trigger('click');
});
}
})
searchValue = '';
window.getLane = function(lane)
{
+1
View File
@@ -98,6 +98,7 @@ if($canImportBug) $createMenu[] = array('text' => $lang->execution->importBug,
if($canImportTask) $createMenu[] = array('text' => $lang->execution->importTask, 'url' => helper::createLink('execution', 'importTask', "execution=$execution->id"));
if($canBatchCreateTask) $createMenu[] = array('text' => $lang->execution->batchCreateTask, 'url' => helper::createLink('task', 'batchCreate', "execution=$execution->id"), 'data-toggle' => 'modal', 'data-size' => 'lg');
jsVar('taskToOpen', $taskToOpen);
jsVar('laneCount', $laneCount);
jsVar('kanbanLang', $lang->kanban);
jsVar('storyLang', $lang->story);