mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 21:09:52 +01:00
disable the IE z-index bugfix because some people don't like it I don't care because I don't use IE ;)
This commit is contained in:
parent
8d2fa3f4cd
commit
0c9e59afaf
@ -15,6 +15,9 @@
|
|||||||
//var isNS4 = false;
|
//var isNS4 = false;
|
||||||
//var isNS6 = false;
|
//var isNS6 = false;
|
||||||
// constructor
|
// constructor
|
||||||
|
|
||||||
|
var IEzindexworkaround=false; // set this true to enable the IE z-index bugfix
|
||||||
|
|
||||||
function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -148,16 +151,17 @@ function ypSlideOutMenu(id, dir, left, top, width, height,pos)
|
|||||||
ypSlideOutMenu.showMenu = function(id)
|
ypSlideOutMenu.showMenu = function(id)
|
||||||
{
|
{
|
||||||
//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(IEzindexworkaround && document.all)
|
||||||
{
|
{
|
||||||
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)
|
||||||
if (o.type == 'select-one' || o.type == 'select-multiple') {
|
if (o.type == 'select-one' || o.type == 'select-multiple') {
|
||||||
// todo: add check for select in div?
|
if (o.style) o.style.display = 'none';// todo: add check for select in div?
|
||||||
if (o.style) o.style.display = 'none';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ypSlideOutMenu.ShowL(id+'Container');
|
ypSlideOutMenu.ShowL(id+'Container');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user