From: hickert Date: Mon, 1 Feb 2010 07:29:38 +0000 (+0000) Subject: Added missing js methods 'hide' and 'show' X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2a0d69587794cb7ec5e46413b35053857faa2e2d;p=gosa.git Added missing js methods 'hide' and 'show' git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15506 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/html/include/gosa.js b/gosa-core/html/include/gosa.js index b99572049..ac561233f 100644 --- a/gosa-core/html/include/gosa.js +++ b/gosa-core/html/include/gosa.js @@ -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;