From fee7af26602ff8426035457b7fd3bce9b2bd5f3e Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 17 Mar 2010 18:21:07 +0000 Subject: - use popupmenu style for attachments upload form - move .popupmenu style definition to common.css git-svn-id: https://svn.roundcube.net/trunk@3375 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 7aca3d8de..87ee76c8f 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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 -- cgit v1.2.3