* change the number of recPerPage for mobile.

This commit is contained in:
wangyidong
2013-07-05 02:03:26 +00:00
parent 968f81b49c
commit 2b38881864
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -137,6 +137,7 @@ class project extends control
/* Load pager and get tasks. */
$this->app->loadClass('pager', $static = true);
if($this->app->getViewType() == 'mhtml') $recPerPage = 10;
$pager = new pager($recTotal, $recPerPage, $pageID);
$tasks = array();