From 68f35f5262db0f522b896ea50571d8bdb6ae83d3 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Tue, 16 Aug 2022 13:58:19 +0800 Subject: [PATCH] * Fix bug #26520,26520. --- extension/lite/common/ext/lang/zh-cn/lite.php | 1 + module/common/view/noticeimport.html.php | 2 -- module/port/view/footer.html.php | 3 ++- module/port/view/header.html.php | 1 + module/testcase/view/showimport.html.php | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/extension/lite/common/ext/lang/zh-cn/lite.php b/extension/lite/common/ext/lang/zh-cn/lite.php index 69a02f326e..c74deb3e3f 100644 --- a/extension/lite/common/ext/lang/zh-cn/lite.php +++ b/extension/lite/common/ext/lang/zh-cn/lite.php @@ -51,6 +51,7 @@ else } $lang->task->common = '任务'; +$lang->dashboard = isset($lang->dashboard->common) ? $lang->dashboard->common : $lang->dashboard; /* My menu. */ $lang->my->menu = new stdclass(); diff --git a/module/common/view/noticeimport.html.php b/module/common/view/noticeimport.html.php index 600fcbea00..5f87dd9b43 100644 --- a/module/common/view/noticeimport.html.php +++ b/module/common/view/noticeimport.html.php @@ -27,7 +27,5 @@ function submitForm(type) $('.modal-body #insert').val(type == 'insert' ? 1 : 0); $('#importNoticeModal .form-actions .btn').addClass('disabled'); $("button[data-target='#importNoticeModal']").closest('form').submit(); - - setTimeout(function(){$('#importNoticeModal .form-actions .btn').removeClass('disabled');}, 1000); } diff --git a/module/port/view/footer.html.php b/module/port/view/footer.html.php index 6fd32ded84..38c6c2541d 100644 --- a/module/port/view/footer.html.php +++ b/module/port/view/footer.html.php @@ -1,5 +1,5 @@