We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cdb8ee + 15e9939 commit bbe1818Copy full SHA for bbe1818
assets/templates/admin/admin_modify_password.html
@@ -132,8 +132,11 @@
132
okay: {
133
text: '关闭',
134
action: function () {
135
- parent.window.close();
136
- window.open("/login");
+ if (window.frames.length !== parent.frames.length) {
+ parent.window.open("/login",'_self');
137
+ }else{
138
+ window.open("/login",'_self');
139
+ }
140
}
141
142
assets/templates/index/index.html
@@ -281,8 +281,11 @@
281
$.cookie('_nav_title_', '');
282
$.cookie('_login_token_', '');
283
284
285
286
287
288
289
},
290
function (response) {
291
AjaxError(response);
0 commit comments