* fix a bug for browse project and product in mobile.

This commit is contained in:
wangyidong
2013-07-04 06:56:02 +00:00
parent fa9b8ad2a6
commit 2a7ebdbea9
2 changed files with 3 additions and 3 deletions

View File

@@ -241,8 +241,8 @@ class commonModel extends model
$task = $this->lang->my->menu->task;
$story = $this->lang->my->menu->story;
$bug = $this->lang->my->menu->bug;
$project = $this->lang->menu->project . '|locate=no&&status=doing&projectID=1';
$product = $this->lang->menu->product . '|locate=no&productID=1';
$project = $this->lang->menu->project . '|locate=no&&status=doing';
$product = $this->lang->menu->product . '|locate=no';
if($role == 'dev' or $role == 'td' or $role == 'pm')
{

View File

@@ -41,7 +41,7 @@ class project extends control
{
if($locate == 'yes') $this->locate($this->createLink('project', 'task'));
$this->commonAction($projectID);
if($this->projects) $this->commonAction($projectID);
$this->session->set('projectList', $this->app->getURI(true));
$this->app->loadLang('my');