From 0878a6820be950685d5c79abe8a655b2734b4534 Mon Sep 17 00:00:00 2001 From: lihaipeng Date: Tue, 27 Aug 2024 15:27:38 +0800 Subject: [PATCH 2/2] fix-cancel-button-function-in-tool --- templates/MT_agreement.html | 6 +++--- templates/MT_check_evn.html | 8 ++++---- templates/MT_check_root.html | 4 ++-- templates/MT_kernel.html | 4 ++-- templates/MT_note.html | 4 ++-- templates/MT_repo.html | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/MT_agreement.html b/templates/MT_agreement.html index d15a399..40150bf 100755 --- a/templates/MT_agreement.html +++ b/templates/MT_agreement.html @@ -86,7 +86,7 @@

- + 下一步
@@ -119,8 +119,8 @@ }); function close_tool() { - alert("确定关闭迁移软件吗?") - } + alert("确定关闭迁移软件吗?") + } diff --git a/templates/MT_check_evn.html b/templates/MT_check_evn.html index fe9c8d8..47b2029 100755 --- a/templates/MT_check_evn.html +++ b/templates/MT_check_evn.html @@ -52,7 +52,7 @@


- + @@ -131,9 +131,9 @@ window.location.href="MT_check_user" } - function close_tool() { - alert("确定关闭迁移软件吗?"); - } + function close_tool() { + window.location.href="MT_note" + } diff --git a/templates/MT_check_root.html b/templates/MT_check_root.html index cb5d346..5e4ce52 100755 --- a/templates/MT_check_root.html +++ b/templates/MT_check_root.html @@ -72,7 +72,7 @@


- + @@ -122,7 +122,7 @@ } function close_tool() { - alert("确定关闭迁移软件吗?"); + window.location.href="MT_check_env" } $("#uname_id").bind("input propertychange",function(event){ diff --git a/templates/MT_kernel.html b/templates/MT_kernel.html index e8b93c8..9553bc6 100755 --- a/templates/MT_kernel.html +++ b/templates/MT_kernel.html @@ -53,7 +53,7 @@


- + @@ -115,7 +115,7 @@ function close_tool() { - alert("确定关闭迁移软件吗?"); + window.location.href="MT_repo" } diff --git a/templates/MT_note.html b/templates/MT_note.html index 1a79009..2da1294 100755 --- a/templates/MT_note.html +++ b/templates/MT_note.html @@ -48,7 +48,7 @@


- + @@ -75,7 +75,7 @@ } function close_tool() { - alert("确定关闭迁移软件吗?"); + window.location = '/MT_agreement'; } diff --git a/templates/MT_repo.html b/templates/MT_repo.html index 2c145af..c5fa384 100755 --- a/templates/MT_repo.html +++ b/templates/MT_repo.html @@ -54,7 +54,7 @@


- +
@@ -102,7 +102,7 @@ } function close_tool() { - alert("确定关闭迁移软件吗"); + window.location.href="MT_check_user" } $("#repo_pwd").bind("input propertychange",function(event){ -- 2.43.0