Commit 313de156 authored by Vanessa's avatar Vanessa

fixed #259

parent 40002d01
......@@ -18,7 +18,7 @@
* 403, 404, 500, article-pwd, init, login and kill-browser page style.
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.1.4, Apr 2, 2013
* @version 1.0.1.5, May 30, 2013
*/
html {
height: 100%;
......@@ -39,7 +39,7 @@ body {
}
h2 {
background-color:#ECECEC;
background-color:#ECECEC;
background-image:linear-gradient(#F9F9F9, #ECECEC);
background-repeat:repeat-x;
border-radius: 4px 4px 0 0;
......@@ -59,6 +59,8 @@ input {
transition: all 0.15s ease-in 0s;
vertical-align: middle;
width: 410px;
font-family: \5fae\8f6f\96c5\9ed1;
font-size: small;
}
input:focus {
......
......@@ -165,12 +165,13 @@
"display": "block",
"opacity": 1
});
$(window).unbind().keydown(function(e){
if(e.keyCode == 27){// esc
$(returnTo);
$(window).unbind().keydown(function(e) {
if (e.keyCode === 27) {// esc
returnTo();
$(window).unbind();
} else if(e.keyCode == 13){// enter
$(initSys);
} else if (e.keyCode === 13) {// enter
initSys();
}
});
}
......@@ -208,7 +209,8 @@
data: JSON.stringify(requestJSONObject),
success: function(result, textStatus) {
if (!result.sc) {
$("#tip").text(result.msg);;
$("#tip").text(result.msg);
;
return;
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment