From c16986be7f5f4df21bfc85a93a2c35f38c86bf12 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Wed, 17 Mar 2010 14:21:07 -0400 Subject: [PATCH] - use popupmenu style for attachments upload form - move .popupmenu style definition to common.css --- program/js/app.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 7aca3d8..87ee76c 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -2832,7 +2832,7 @@ { if (!this.gui_objects.uploadbox) return false; - + var elm, list; if (elm = this.gui_objects.uploadbox) { @@ -2842,8 +2842,8 @@ elm.style.top = (pos.top + list.offsetHeight + 10) + 'px'; elm.style.left = pos.left + 'px'; } - - elm.style.visibility = a ? 'visible' : 'hidden'; + + $(elm).toggle(); } // clear upload form -- Gitblit v1.9.1