summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-03-17 18:21:07 +0000
committeralecpl <alec@alec.pl>2010-03-17 18:21:07 +0000
commitc16986be7f5f4df21bfc85a93a2c35f38c86bf12 (patch)
tree377fb567e189b7bf85f50f28512b40a84d2181ae /program/js/app.js
parentcaf601a28f542da7d71464f5c37fc127398961a2 (diff)
- use popupmenu style for attachments upload form
- move .popupmenu style definition to common.css
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 7aca3d8de..87ee76c8f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2832,7 +2832,7 @@ function rcube_webmail()
{
if (!this.gui_objects.uploadbox)
return false;
-
+
var elm, list;
if (elm = this.gui_objects.uploadbox)
{
@@ -2842,8 +2842,8 @@ function rcube_webmail()
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