Skip to content

Commit 0ef34b4

Browse files
committed
Update massedit controls
Add better z-index values to the massedit controls so they stack in order of preference from left to right to account for assholes putting in extremely long values that cause the selection box to overlap a previous cell
1 parent c9009b6 commit 0ef34b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

scripts/common.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ function LameLogDisplay(){
19421942
});
19431943
setmediatype.val('');
19441944
}
1945-
}).css('z-index','3');
1945+
}).css('z-index','5');
19461946

19471947
// Populate media type choices
19481948
function massedit_mt(){
@@ -1991,7 +1991,7 @@ function LameLogDisplay(){
19911991
});
19921992
setmediaconnector.val('');
19931993
}
1994-
});
1994+
}).css('z-index','8');
19951995

19961996
// Populate port connector type choices
19971997
function massedit_mc(){
@@ -2041,7 +2041,7 @@ function LameLogDisplay(){
20412041
});
20422042
setmediaprotocol.val('');
20432043
}
2044-
});
2044+
}).css('z-index','7');
20452045

20462046
// Populate port protocol type choices
20472047
function massedit_mp(){
@@ -2091,7 +2091,7 @@ function LameLogDisplay(){
20912091
});
20922092
setmediarate.val('');
20932093
}
2094-
});
2094+
}).css('z-index','6');
20952095

20962096
// Populate port rate choices
20972097
function massedit_mr(){
@@ -2142,7 +2142,7 @@ function LameLogDisplay(){
21422142
});
21432143
setpowerconnector.val('');
21442144
}
2145-
}).css('z-index','3');
2145+
}).css('z-index','9');
21462146

21472147
// Populate power conenctor choices
21482148
function massedit_powc(){
@@ -2193,7 +2193,7 @@ function LameLogDisplay(){
21932193
});
21942194
setpowervoltage.val('');
21952195
}
2196-
}).css('z-index','3');
2196+
}).css('z-index','8');
21972197

21982198
// Populate power voltage choices
21992199
function massedit_powv(){
@@ -2244,7 +2244,7 @@ function LameLogDisplay(){
22442244
});
22452245
setpowerphase.val('');
22462246
}
2247-
}).css('z-index','3');
2247+
}).css('z-index','7');
22482248

22492249
// Populate power phase choices
22502250
function massedit_powp(){
@@ -2294,7 +2294,7 @@ function LameLogDisplay(){
22942294
});
22952295
setcolorcode.val('');
22962296
}
2297-
});
2297+
}).css('z-index','4');
22982298

22992299
// Populate color code choices
23002300
function massedit_cc(){

0 commit comments

Comments
 (0)