From eb7b7d92c46e994d3c68b7bc331e3e646df14c67 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 13 May 2022 14:17:13 +0800 Subject: [PATCH] * Fix bug #22483. --- module/doc/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index 73acea6885..2058e69b34 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2522,7 +2522,8 @@ EOT; } else { - $li = "
" . $module->name . ''; + $moduleClass = common::hasPriv('tree', 'updateOrder') ? 'sort-module' : ''; + $li = "
" . $module->name . ''; if($currentMethod != 'tablecontents') { if(common::hasPriv('tree', 'edit') or common::hasPriv('tree', 'browse') or common::hasPriv('tree', 'browse') or common::hasPriv('tree', 'updateOrder'))