Skip to content

Commit

Permalink
更新1个用例编辑显示bug
Browse files Browse the repository at this point in the history
  • Loading branch information
learningperl committed Mar 21, 2016
1 parent 28b694f commit 79bd476
Show file tree
Hide file tree
Showing 7 changed files with 1,301 additions and 193 deletions.
164 changes: 0 additions & 164 deletions WebContent/index1.jsp

This file was deleted.

17 changes: 0 additions & 17 deletions WebContent/static/CSS/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,6 @@ a:focus {
}

/* Pattern */
body {
background: url("../Images/Textures/pattern4.png") repeat scroll 0 0
#f4f4f4;
}

.top_panel {
background: url("../Images/Textures/top_panel.png") repeat-x scroll 0 0
Expand Down Expand Up @@ -714,16 +710,6 @@ body {
#f6f7f8;
}

.separator {
background: url("../Images/Textures/separator_line.png") repeat-x scroll
0 14px transparent;
}

.separator>span {
background: url("../Images/Textures/separator_circle.png") no-repeat
scroll center center #F9F9F9;
}

/* Top Panel */
.top_panel {
height: 38px;
Expand Down Expand Up @@ -2898,9 +2884,6 @@ input[disabled="disabled"] {
background: url("../Images/Patterns/pattern3.png") no-repeat 0 0;
}

#pattern4 {
background: url("../Images/Patterns/pattern4.png") no-repeat 0 0;
}

#pattern5 {
background: url("../Images/Patterns/pattern5.png") no-repeat 0 0;
Expand Down
12 changes: 10 additions & 2 deletions WebContent/static/Interface.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,12 @@
//alert(ele.parentNode.value);
ele.parentNode.style.height = "120px";
ele.parentNode.style.textIndent = "0px";
ele.parentNode.parentNode.parentNode.children[0].style.display = "none";
var e=document.getElementsByName("check");
for(var i=0;i<e.length;i++){
if(e[i].value==id){
e[i].style.display="none"
}
}
//alert(data);
ele.parentNode.innerHTML = data;
} else {
Expand All @@ -269,7 +274,10 @@
if (me == "name") {
ele.parentNode.style.height = "40px";
ele.parentNode.style.textIndent = "10px";
ele.parentNode.parentNode.parentNode.children[0].style.display = "";
var e=document.getElementsByName("check");
for(var i=0;i<e.length;i++){
e[i].style.display=""
}
ele.parentNode.innerHTML = ele.parentNode.value;
} else {
ele.parentNode.style.height = "25px";
Expand Down
Loading

0 comments on commit 79bd476

Please sign in to comment.