* Fix bug for manage chart group.

This commit is contained in:
liumengyi
2022-11-06 16:03:14 +08:00
parent aadcbf0376
commit a38461a20e
7 changed files with 26 additions and 9 deletions
+2 -2
View File
@@ -382,7 +382,7 @@ class tree extends control
{
$this->view->optionMenu = $this->tree->getTaskOptionMenu($module->root);
}
else
else if($type != 'chart')
{
$this->view->optionMenu = $this->tree->getOptionMenu($module->root, $module->type, 0, $module->branch);
}
@@ -486,7 +486,7 @@ class tree extends control
if($module->type == 'doc') $confirmLang = $this->lang->tree->confirmDeleteMenu;
if($module->type == 'line') $confirmLang = $this->lang->tree->confirmDeleteLine;
if($module->type == 'host') $confirmLang = $this->lang->tree->confirmDeleteHost;
if($module->type == 'bi') $confirmLang = $this->lang->tree->confirmDeleteGroup;
if($module->type == 'chart') $confirmLang = $this->lang->tree->confirmDeleteGroup;
die(js::confirm($confirmLang, $this->createLink('tree', 'delete', "rootID=$rootID&moduleID=$moduleID&confirm=yes")));
}
else