summaryrefslogtreecommitdiff
path: root/ishtar_common/static/js/ishtar.js
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-03-16 20:10:54 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-03-16 20:10:54 +0100
commit693c2cbd884d5aa045d4ae2ae7ec005940d8321e (patch)
tree5670d3a3161e69f3f84497745c6f1b9339126176 /ishtar_common/static/js/ishtar.js
parentc292824f14fcadadea6d95a54ebfe5d9db6647aa (diff)
downloadIshtar-693c2cbd884d5aa045d4ae2ae7ec005940d8321e.tar.bz2
Ishtar-693c2cbd884d5aa045d4ae2ae7ec005940d8321e.zip
Show / hide advanced search (refs #3069)
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r--ishtar_common/static/js/ishtar.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js
index 7918f742f..9af5cf2b0 100644
--- a/ishtar_common/static/js/ishtar.js
+++ b/ishtar_common/static/js/ishtar.js
@@ -187,3 +187,11 @@ function closeAllWindows(){
jQuery("#window > div").hide("slow");
jQuery("#window").html("");
}
+
+function show_hide_flex(id){
+ if ($(id).is(':hidden')){
+ $(id).css('display', 'flex');
+ } else {
+ $(id).hide();
+ }
+}