* Fix ajax custom lang.

This commit is contained in:
sunguangming
2024-05-17 15:19:50 +08:00
parent 0e38924fbf
commit 9503c95630
+3 -1
View File
@@ -147,8 +147,10 @@ class datatable extends control
if($extra != 'story')
{
foreach(array('taskCount', 'bugCount', 'caseCount') as $field) unset($cols[$field]);
$cols['title']['title'] = str_replace($this->lang->SRCommon, $this->lang->URCommon, $this->lang->story->title);
$cols['title']['title'] = $cols['title']['title'] = $this->lang->story->name;
}
if($this->app->tab != 'product') $cols['title']['title'] = $this->lang->story->name;
}
if(($module == 'productplan' && $method == 'browse') || ($module == 'project' && $method == 'bug'))