* Fix bug.

This commit is contained in:
Yagami
2021-04-07 14:12:17 +08:00
parent 7dae38a2a3
commit 82df33e205
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2063,7 +2063,7 @@ class execution extends control
$this->session->set('execution', '');
$this->executeHooks($executionID);
die(js::locate(inlink('index'), 'parent'));
die(js::reload('parent'));
}
}
+1 -1
View File
@@ -117,7 +117,7 @@ body {margin-bottom: 25px;}
<ul class="dropdown-menu pull-right" id='exportActionMenu'>
<?php
$class = common::hasPriv('task', 'export') ? '' : "class=disabled";
$misc = common::hasPriv('task', 'export') ? "class='export'" : "class=disabled";
$misc = common::hasPriv('task', 'export') ? "class='export iframe'" : "class=disabled";
$link = common::hasPriv('task', 'export') ? $this->createLink('task', 'export', "execution=$executionID&orderBy=$orderBy&type=$browseType") : '#';
echo "<li $class>" . html::a($link, $lang->task->export, '', $misc) . "</li>";
?>
+1 -1
View File
@@ -1423,7 +1423,7 @@ class task extends control
/* Get users and executions. */
$users = $this->loadModel('user')->getPairs('noletter');
$executions = $this->execution->getPairs($this->session->execution, 'all', 'all|nocode');
$executions = $this->execution->getPairs($execution->project, 'all', 'all|nocode');
/* Get related objects id lists. */
$relatedStoryIdList = array();