mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
Attempt at a fix for error that prevented sidebox menu from sliding out in IE8
This commit is contained in:
parent
d01499df7b
commit
4517bafcb6
@ -104,7 +104,7 @@ function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
|||||||
|
|
||||||
|
|
||||||
//temporarly hide all selectboxes to fix IE bug with z-index
|
//temporarly hide all selectboxes to fix IE bug with z-index
|
||||||
if(document.all)
|
if(document.all && document.all instanceof Array)
|
||||||
{
|
{
|
||||||
for (var i=0; i<document.all.length; i++) {
|
for (var i=0; i<document.all.length; i++) {
|
||||||
o = document.all(i)
|
o = document.all(i)
|
||||||
@ -115,7 +115,6 @@ function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (obj.container) {
|
if (obj.container) {
|
||||||
obj.over = true
|
obj.over = true
|
||||||
|
|
||||||
@ -155,7 +154,7 @@ function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
|||||||
if (obj.open && !obj.aniTimer) obj.startSlide(false)
|
if (obj.open && !obj.aniTimer) obj.startSlide(false)
|
||||||
|
|
||||||
//show all selectboxes again to fix IE bug with z-index
|
//show all selectboxes again to fix IE bug with z-index
|
||||||
if(document.all)
|
if(document.all && document.all instanceof Array)
|
||||||
{
|
{
|
||||||
for (var i=0; i<document.all.length; i++) {
|
for (var i=0; i<document.all.length; i++) {
|
||||||
o = document.all(i)
|
o = document.all(i)
|
||||||
|
Loading…
Reference in New Issue
Block a user