* Fix bug #22531.
This commit is contained in:
@@ -509,10 +509,7 @@ class baseHTML
|
||||
setcookie('goback', json_encode($gobackList), $config->cookieLife, $config->webRoot, '', $config->cookieSecure, false);
|
||||
}
|
||||
|
||||
$dataApp = array_search($gobackLink, $gobackList) ? array_search($gobackLink, $gobackList) : '';
|
||||
$dataApp = empty($dataApp) ? '' : "data-app='$dataApp'";
|
||||
|
||||
return "<a href='{$gobackLink}' class='btn btn-back $class' $dataApp $misc>{$label}</a>";
|
||||
return "<a href='{$gobackLink}' class='btn btn-back $class' data-app='$tab' $misc>{$label}</a>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -3281,7 +3281,7 @@ class bugModel extends model
|
||||
if($type == 'view') $menu .= $this->buildMenu('bug', 'activate', $params, $bug, $type, '', '', "text-success iframe showinonlybody", true);
|
||||
if($type == 'view' && $this->app->tab != 'product')
|
||||
{
|
||||
$menu .= $this->buildMenu('bug', 'toStory', $toStoryParams, $bug, $type, $this->lang->icons['story'], '', '', '', "data-app='product'", $this->lang->bug->toStory);
|
||||
$menu .= $this->buildMenu('bug', 'toStory', $toStoryParams, $bug, $type, $this->lang->icons['story'], '', '', '', "data-app='qa'", $this->lang->bug->toStory);
|
||||
$menu .= $this->buildMenu('bug', 'createCase', $convertParams, $bug, $type, 'sitemap');
|
||||
}
|
||||
if($type == 'view')
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
<th><?php echo $lang->bug->deadline;?></th>
|
||||
<td>
|
||||
<?php
|
||||
if($bug->deadline) echo $bug->deadline;
|
||||
if($bug->deadline) echo $bug->deadline;
|
||||
if(isset($bug->delay)) printf($lang->bug->delayWarning, $bug->delay);
|
||||
?>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user