From aee62254eb517ee8d9a00ac63dc579efb343560b Mon Sep 17 00:00:00 2001 From: Hao Sun Date: Mon, 21 Mar 2022 16:03:52 +0800 Subject: [PATCH] * fix $(window).height() value is difference in firefox: avoid to insert js before . --- module/my/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/my/control.php b/module/my/control.php index a8aa2cb476..43a43c6b35 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -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); } /**