From 692fed986265b84bce616b12d68196c0b7ed3b96 Mon Sep 17 00:00:00 2001 From: yhw0507 Date: Tue, 28 Mar 2023 09:37:22 +0800 Subject: [PATCH] =?UTF-8?q?20230328=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E9=A1=B5=E5=85=B3=E9=97=AD=E6=8C=89=E9=92=AE=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/DataShow/Accident.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/Check.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/CompanyPerson.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/EduTrain.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/Emergency.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/Environmental.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/HJGLDefect.aspx | 4 ++-- SGGL/FineUIPro.Web/DataShow/HJGLWelder.aspx | 4 ++-- SGGL/FineUIPro.Web/DataShow/HJGLWelding.aspx | 4 ++-- SGGL/FineUIPro.Web/DataShow/HiddenRectification.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/LargeEngineering.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/License.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/Meeting.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/Project.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/ProjectDivision.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/ProjectPerson.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityAcceptance.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityControlPoint.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityInstruments.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityPerson.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityProblem.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/QualityTraining.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/SecurityCost.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx | 6 +++--- SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx | 6 +++--- 25 files changed, 72 insertions(+), 72 deletions(-) diff --git a/SGGL/FineUIPro.Web/DataShow/Accident.aspx b/SGGL/FineUIPro.Web/DataShow/Accident.aspx index 9c3085f2..1f96c170 100644 --- a/SGGL/FineUIPro.Web/DataShow/Accident.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Accident.aspx @@ -38,7 +38,7 @@ - + @@ -111,13 +111,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/Check.aspx b/SGGL/FineUIPro.Web/DataShow/Check.aspx index 070d979e..957fcfc0 100644 --- a/SGGL/FineUIPro.Web/DataShow/Check.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Check.aspx @@ -44,7 +44,7 @@ Width="130px"> - + @@ -110,13 +110,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/CompanyPerson.aspx b/SGGL/FineUIPro.Web/DataShow/CompanyPerson.aspx index 8450374f..b64399a0 100644 --- a/SGGL/FineUIPro.Web/DataShow/CompanyPerson.aspx +++ b/SGGL/FineUIPro.Web/DataShow/CompanyPerson.aspx @@ -35,7 +35,7 @@ - + @@ -96,13 +96,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/EduTrain.aspx b/SGGL/FineUIPro.Web/DataShow/EduTrain.aspx index 32b611d3..d741994f 100644 --- a/SGGL/FineUIPro.Web/DataShow/EduTrain.aspx +++ b/SGGL/FineUIPro.Web/DataShow/EduTrain.aspx @@ -43,7 +43,7 @@ Width="130px"> - + @@ -113,13 +113,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/Emergency.aspx b/SGGL/FineUIPro.Web/DataShow/Emergency.aspx index 98748361..975598da 100644 --- a/SGGL/FineUIPro.Web/DataShow/Emergency.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Emergency.aspx @@ -38,7 +38,7 @@ Width="130px"> - + @@ -195,13 +195,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/Environmental.aspx b/SGGL/FineUIPro.Web/DataShow/Environmental.aspx index 80785d6a..1ff8f1fe 100644 --- a/SGGL/FineUIPro.Web/DataShow/Environmental.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Environmental.aspx @@ -38,7 +38,7 @@ Width="130px"> - + @@ -109,13 +109,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/HJGLDefect.aspx b/SGGL/FineUIPro.Web/DataShow/HJGLDefect.aspx index ae18ca6b..cf926460 100644 --- a/SGGL/FineUIPro.Web/DataShow/HJGLDefect.aspx +++ b/SGGL/FineUIPro.Web/DataShow/HJGLDefect.aspx @@ -35,7 +35,7 @@ Width="130px"> --%> - + @@ -101,7 +101,7 @@ } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/HJGLWelder.aspx b/SGGL/FineUIPro.Web/DataShow/HJGLWelder.aspx index 0ac5bd04..162c9dab 100644 --- a/SGGL/FineUIPro.Web/DataShow/HJGLWelder.aspx +++ b/SGGL/FineUIPro.Web/DataShow/HJGLWelder.aspx @@ -29,7 +29,7 @@ - + @@ -115,7 +115,7 @@ } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/HJGLWelding.aspx b/SGGL/FineUIPro.Web/DataShow/HJGLWelding.aspx index f288b3c2..42f10202 100644 --- a/SGGL/FineUIPro.Web/DataShow/HJGLWelding.aspx +++ b/SGGL/FineUIPro.Web/DataShow/HJGLWelding.aspx @@ -35,7 +35,7 @@ Width="130px"> - + @@ -116,7 +116,7 @@ } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/HiddenRectification.aspx b/SGGL/FineUIPro.Web/DataShow/HiddenRectification.aspx index 3aaf9117..96b0a1c8 100644 --- a/SGGL/FineUIPro.Web/DataShow/HiddenRectification.aspx +++ b/SGGL/FineUIPro.Web/DataShow/HiddenRectification.aspx @@ -40,7 +40,7 @@ Width="130px"> - + @@ -115,13 +115,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/LargeEngineering.aspx b/SGGL/FineUIPro.Web/DataShow/LargeEngineering.aspx index 023fdc02..5a7c7fea 100644 --- a/SGGL/FineUIPro.Web/DataShow/LargeEngineering.aspx +++ b/SGGL/FineUIPro.Web/DataShow/LargeEngineering.aspx @@ -35,7 +35,7 @@ Width="130px"> --%> - + @@ -120,13 +120,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/License.aspx b/SGGL/FineUIPro.Web/DataShow/License.aspx index 4d0f4dd7..04bb59fa 100644 --- a/SGGL/FineUIPro.Web/DataShow/License.aspx +++ b/SGGL/FineUIPro.Web/DataShow/License.aspx @@ -42,7 +42,7 @@ Width="130px"> - + @@ -121,13 +121,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/Meeting.aspx b/SGGL/FineUIPro.Web/DataShow/Meeting.aspx index af2ca81f..7e625537 100644 --- a/SGGL/FineUIPro.Web/DataShow/Meeting.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Meeting.aspx @@ -42,7 +42,7 @@ Width="130px"> - + @@ -110,13 +110,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/Project.aspx b/SGGL/FineUIPro.Web/DataShow/Project.aspx index bc647473..509c0360 100644 --- a/SGGL/FineUIPro.Web/DataShow/Project.aspx +++ b/SGGL/FineUIPro.Web/DataShow/Project.aspx @@ -31,7 +31,7 @@ - + @@ -133,13 +133,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/ProjectDivision.aspx b/SGGL/FineUIPro.Web/DataShow/ProjectDivision.aspx index 531053d0..82e25edf 100644 --- a/SGGL/FineUIPro.Web/DataShow/ProjectDivision.aspx +++ b/SGGL/FineUIPro.Web/DataShow/ProjectDivision.aspx @@ -35,7 +35,7 @@ Width="130px"> --%> - + @@ -105,13 +105,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/ProjectPerson.aspx b/SGGL/FineUIPro.Web/DataShow/ProjectPerson.aspx index 03550327..3b919ccd 100644 --- a/SGGL/FineUIPro.Web/DataShow/ProjectPerson.aspx +++ b/SGGL/FineUIPro.Web/DataShow/ProjectPerson.aspx @@ -39,7 +39,7 @@ - + @@ -117,13 +117,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityAcceptance.aspx b/SGGL/FineUIPro.Web/DataShow/QualityAcceptance.aspx index f899c548..24407d39 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityAcceptance.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityAcceptance.aspx @@ -43,7 +43,7 @@ Width="130px"> --%> - + @@ -109,13 +109,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityControlPoint.aspx b/SGGL/FineUIPro.Web/DataShow/QualityControlPoint.aspx index 5563db0b..1c78072a 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityControlPoint.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityControlPoint.aspx @@ -35,7 +35,7 @@ Width="130px"> --%> - + @@ -109,13 +109,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityInstruments.aspx b/SGGL/FineUIPro.Web/DataShow/QualityInstruments.aspx index 6ac5fdad..affe8bf7 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityInstruments.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityInstruments.aspx @@ -35,7 +35,7 @@ Width="130px"> - + @@ -101,13 +101,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityPerson.aspx b/SGGL/FineUIPro.Web/DataShow/QualityPerson.aspx index 04465ccf..d180bed6 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityPerson.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityPerson.aspx @@ -33,7 +33,7 @@ EnableEdit="true" OnSelectedIndexChanged="TextBox_TextChanged" AutoPostBack="true" Hidden="true"> - + @@ -98,13 +98,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityProblem.aspx b/SGGL/FineUIPro.Web/DataShow/QualityProblem.aspx index 248487b7..3d6739a8 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityProblem.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityProblem.aspx @@ -35,7 +35,7 @@ Width="130px"> - + @@ -103,13 +103,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/QualityTraining.aspx b/SGGL/FineUIPro.Web/DataShow/QualityTraining.aspx index 0836f4a6..f4a2a687 100644 --- a/SGGL/FineUIPro.Web/DataShow/QualityTraining.aspx +++ b/SGGL/FineUIPro.Web/DataShow/QualityTraining.aspx @@ -40,7 +40,7 @@ Width="130px"> - + @@ -101,13 +101,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/SecurityCost.aspx b/SGGL/FineUIPro.Web/DataShow/SecurityCost.aspx index 2dcaa379..80442347 100644 --- a/SGGL/FineUIPro.Web/DataShow/SecurityCost.aspx +++ b/SGGL/FineUIPro.Web/DataShow/SecurityCost.aspx @@ -42,7 +42,7 @@ Width="130px"> - + @@ -106,13 +106,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx b/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx index fcc62310..1eef939b 100644 --- a/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx +++ b/SGGL/FineUIPro.Web/DataShow/SecurityRisk.aspx @@ -35,7 +35,7 @@ Width="130px"> --%> - + @@ -111,13 +111,13 @@ } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else { diff --git a/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx b/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx index d3420f13..a8eba27d 100644 --- a/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx +++ b/SGGL/FineUIPro.Web/DataShow/WorkingHours.aspx @@ -35,7 +35,7 @@ Width="130px"> - + @@ -105,13 +105,13 @@ return false; } // 点击标题栏工具图标 - 退出 - function close(event) { + function closeNow(event) { var bConfirmed = confirm('您确定要退出吗?'); if (bConfirmed) { closePage(); } } function closePage() { - if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") != -1) { + if (navigator.userAgent.indexOf("Firefox") !== -1 || navigator.userAgent.indexOf("Chrome") !== -1) { window.location.href = "about:blank"; window.close(); } else {