From 7277779b0234deca72046eea0ff5e828de44e370 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 4 Jan 2023 17:07:52 +0800 Subject: [PATCH] * Fix bug #31445. --- module/zahost/config.php | 1 + module/zanode/config.php | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/module/zahost/config.php b/module/zahost/config.php index 168b10f8a1..c7eacc5875 100644 --- a/module/zahost/config.php +++ b/module/zahost/config.php @@ -50,6 +50,7 @@ $config->zahost->search['params']['editedDate'] = array('operator' => '=', $config->zahost->editor = new stdclass(); $config->zahost->editor->create = array('id' => 'desc', 'tools' => 'simpleTools'); $config->zahost->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools'); +$config->zahost->editor->view = array('id' => 'comment', 'tools' => 'simpleTools'); $config->zahost->automation = new stdclass(); $config->zahost->automation->zenAgentURL = 'https://github.com/easysoft/zenagent/blob/main/guide/deploy/index.md'; diff --git a/module/zanode/config.php b/module/zanode/config.php index 467f33eb30..75dd808f6b 100644 --- a/module/zanode/config.php +++ b/module/zanode/config.php @@ -46,6 +46,7 @@ $config->zanode->search['params']['memory'] = array('operator' => '=', 'cont $config->zanode->search['params']['diskSize'] = array('operator' => '=', 'control' => 'input', 'values' => ''); $config->zanode->editor = new stdclass(); -$config->zanode->editor->create = array('id' => 'desc', 'tools' => 'simpleTools'); -$config->zanode->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools'); +$config->zanode->editor->create = array('id' => 'desc', 'tools' => 'simpleTools'); +$config->zanode->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools'); $config->zanode->editor->createimage = array('id' => 'desc', 'tools' => 'simpleTools'); +$config->zanode->editor->view = array('id' => 'comment', 'tools' => 'simpleTools');