Commit 313de156 authored by Vanessa's avatar Vanessa

fixed #259

parent 40002d01
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
* 403, 404, 500, article-pwd, init, login and kill-browser page style. * 403, 404, 500, article-pwd, init, login and kill-browser page style.
* *
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a> * @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 { html {
height: 100%; height: 100%;
...@@ -39,7 +39,7 @@ body { ...@@ -39,7 +39,7 @@ body {
} }
h2 { h2 {
background-color:#ECECEC; background-color:#ECECEC;
background-image:linear-gradient(#F9F9F9, #ECECEC); background-image:linear-gradient(#F9F9F9, #ECECEC);
background-repeat:repeat-x; background-repeat:repeat-x;
border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0;
...@@ -59,6 +59,8 @@ input { ...@@ -59,6 +59,8 @@ input {
transition: all 0.15s ease-in 0s; transition: all 0.15s ease-in 0s;
vertical-align: middle; vertical-align: middle;
width: 410px; width: 410px;
font-family: \5fae\8f6f\96c5\9ed1;
font-size: small;
} }
input:focus { input:focus {
......
...@@ -165,12 +165,13 @@ ...@@ -165,12 +165,13 @@
"display": "block", "display": "block",
"opacity": 1 "opacity": 1
}); });
$(window).unbind().keydown(function(e){
if(e.keyCode == 27){// esc $(window).unbind().keydown(function(e) {
$(returnTo); if (e.keyCode === 27) {// esc
returnTo();
$(window).unbind(); $(window).unbind();
} else if(e.keyCode == 13){// enter } else if (e.keyCode === 13) {// enter
$(initSys); initSys();
} }
}); });
} }
...@@ -208,7 +209,8 @@ ...@@ -208,7 +209,8 @@
data: JSON.stringify(requestJSONObject), data: JSON.stringify(requestJSONObject),
success: function(result, textStatus) { success: function(result, textStatus) {
if (!result.sc) { if (!result.sc) {
$("#tip").text(result.msg);; $("#tip").text(result.msg);
;
return; 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