summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a0d695)
raw | patch | inline | side by side (parent: 2a0d695)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:03:38 +0000 (08:03 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:03:38 +0000 (08:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15507 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/gosa.js | patch | blob | history |
index ac561233fb5de3f9ebba3e0d7b35b6ae25fdc7d8..db3079b7c022bd89ad55d79674c94975cecd3087 100644 (file)
document.poppedLayer = document.layers[element];
if (document.poppedLayer.style.visibility == "visible") {
- hide (element);
+ $(element).hide();
} else {
- show (element);
+ $(element).show();
}
}
cell= document.getElementById(cellname);
if (document.poppedLayer.style.visibility == "visible") {
- hide (element);
+ $(element).hide();
cell.style.height="0px";
document.poppedLayer.style.height="0px";
} else {
- show (element);
+ $(element).show();
document.poppedLayer.style.height="";
if(document.defaultView) {
cell.style.height=document.defaultView.getComputedStyle(document.poppedLayer,"").getPropertyValue('height');
document.poppedLayer = document.getElementById(element);
cell= document.getElementById(cellname);
if (document.poppedLayer.style.visibility == "visible") {
- hide (element);
+ $(element).hide();
cell.style.height="0px";
document.poppedLayer.style.height="0px";
document.poppedLayer.style.position="absolute";
} else {
- show (element);
+ $(element).show();
cell.style.height="";
document.poppedLayer.style.height="";
document.poppedLayer.style.position="relative";
if(cur_id != ""){
ele = document.getElementById('e_layer' + cur_id);
ele.onmousemove = "";
- hide('e_layer' + cur_id);
+ $('e_layer' + cur_id).hide();
document.getElementById('closed_msg_dialogs').value += "," + cur_id;
document.getElementById('current_msg_dialogs').value= "";
}
}
-function hide(element) {
- document.poppedLayer = document.getElementById(element);
- document.poppedLayer.style.visibility = "hidden";
-}
-
-function show(element) {
- document.poppedLayer = document.getElementById(element);
- document.poppedLayer.style.visibility = "visible";
-}
-
// Global storage for baseSelector timer
var rtimer;