* adjust for xuanxuan locate page.

This commit is contained in:
wangyidong
2018-12-19 16:44:41 +08:00
parent d3fa148cb3
commit df6ca19290
10 changed files with 23 additions and 22 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class todo extends control
$this->send(array('result' => 'success', 'id' => $todoID, 'name' => $todo->name, 'pri' => $todo->pri, 'priName' => $this->lang->todo->priList[$todo->pri], 'time' => date(DT_DATE4, strtotime($todo->date)) . ' ' . $todo->begin));
}
if($this->app->getViewType() == 'xhtml') die(js::closeXXModal('parent'));
if($this->app->getViewType() == 'xhtml') die(js::locate($this->createLink('todo', 'view', "todoID=$todoID"), 'parent'));
if(isonlybody()) die(js::locate($this->createLink('my', 'todo', "type=$date"), 'parent.parent'));
die(js::locate($this->createLink('my', 'todo', "type=$date"), 'parent'));
}