* Fix bug.
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>";
|
||||
?>
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user