* Add top menu for feedback.

This commit is contained in:
tanghucheng
2022-10-15 08:52:40 +08:00
parent 91ae21caec
commit 2d0901b36c
5 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -48,7 +48,8 @@ class tree extends control
else if($this->app->tab == 'feedback')
{
$products = $this->loadModel('feedback')->getGrantProducts();
if($viewType == 'feedback') $this->lang->modulePageNav = $this->product->select($products, $rootID, 'tree', 'browse', 'feedback', '', '', '', false);
if(!$rootID) $rootID = key($products);
$this->loadModel('feedback')->setMenu($rootID);
}
/* According to the type, set the module root and modules. */