* fix $(window).height() value is difference in firefox: avoid to insert js before <!DOCTYPE html>.

This commit is contained in:
Hao Sun
2022-03-21 16:03:52 +08:00
parent f5d5f89ec2
commit aee62254eb
+2 -2
View File
@@ -86,9 +86,9 @@ class my extends control
*/
public function work($mode = 'task', $type = 'assignedTo', $orderBy = 'id_desc', $recTotal = 0, $recPerPage = 20, $pageID = 1)
{
$this->showWorkCount($recTotal, $recPerPage, $pageID);
echo $this->fetch('my', $mode, "type=$type&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID");
$this->showWorkCount($recTotal, $recPerPage, $pageID);
}
/**