Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fengfei committed Mar 29, 2018
1 parent 13c98b2 commit 0719d63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion html/static/adminlte/css/AdminLTE.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
/*!
* @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
* AdminLTE v2.3.2
* Author: Almsaeed Studio
* Website: Almsaeed Studio <http:https://almsaeedstudio.com>
Expand Down
3 changes: 2 additions & 1 deletion html/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ function api_invoke(uri, params, callback) {
callback(data);
},
error: function (XMLHttpRequest, textStatus, errorThrown) {
if (XMLHttpRequest.status == 302) {
console.log(XMLHttpRequest);
if (XMLHttpRequest.status == "302") {
location.href = "/login.html";
return;
}
Expand Down

0 comments on commit 0719d63

Please sign in to comment.