Merge branch 'sprint/sunhao/firefox_bug' into 'master'

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

See merge request easycorp/zentaopms!2401
This commit is contained in:
孙广明
2022-03-22 00:34:50 +00:00

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);
}
/**