From 918f3f5be7b64508644f82f1393b2e8e62e81166 Mon Sep 17 00:00:00 2001 From: ruibaby Date: Tue, 28 Aug 2018 21:31:14 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E5=86=8D=E4=B8=8A=E4=BC=A0=E7=9B=B8=E5=90=8C?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=97=B6=EF=BC=8C=E4=BC=9A=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E5=8F=88=E5=88=A0=E9=99=A4=E4=B8=8A=E4=BC=A0=E7=9A=84=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/admin/admin_theme.ftl | 2 +- .../resources/templates/admin/widget/_theme-install.ftl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/admin/admin_theme.ftl b/src/main/resources/templates/admin/admin_theme.ftl index 9d4f7850a..bd85ac7d2 100755 --- a/src/main/resources/templates/admin/admin_theme.ftl +++ b/src/main/resources/templates/admin/admin_theme.ftl @@ -217,7 +217,7 @@ loader: true, loaderBg: '#ffffff', afterHidden: function () { - window.location.reload(); + window.location.href="/admin/themes"; } }); }else{ diff --git a/src/main/resources/templates/admin/widget/_theme-install.ftl b/src/main/resources/templates/admin/widget/_theme-install.ftl index 0e4d61de9..0286f1766 100644 --- a/src/main/resources/templates/admin/widget/_theme-install.ftl +++ b/src/main/resources/templates/admin/widget/_theme-install.ftl @@ -48,7 +48,7 @@
@@ -114,7 +114,7 @@ loader: true, loaderBg: '#ffffff', afterHidden: function () { - parent.location.reload(); + parent.location.href="/admin/themes"; } }); }else{ @@ -180,7 +180,7 @@ loader: true, loaderBg: '#ffffff', afterHidden: function () { - parent.location.reload(); + parent.location.href="/admin/themes"; } }); }else {