* Fix locate after create todo.

This commit is contained in:
Yagami
2019-04-12 14:37:27 +08:00
parent a321266757
commit bfcb9f536a
+1 -1
View File
@@ -64,7 +64,7 @@ class todo extends control
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'));
die(js::locate($this->createLink('my', 'todo', "type=all"), 'parent'));
}
unset($this->lang->todo->typeList['cycle']);