Code

Added missing js methods 'hide' and 'show'
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 07:29:38 +0000 (07:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 07:29:38 +0000 (07:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15506 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/include/gosa.js

index b995720497ca380bce6ba1df113e2bf76a591112..ac561233fb5de3f9ebba3e0d7b35b6ae25fdc7d8 100644 (file)
@@ -553,6 +553,16 @@ function move_div_by_cursor(e)
 }
 
 
+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;