From 9a4fd756a911dc976a550f18c2a301ba80149f7e Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 17 Jul 2010 11:09:14 -0400
Subject: [PATCH] Don't open file browser on IE (#1486841)
---
skins/default/functions.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/skins/default/functions.js b/skins/default/functions.js
index 2a393c7..47eb1fc 100644
--- a/skins/default/functions.js
+++ b/skins/default/functions.js
@@ -93,7 +93,7 @@
this.show_popupmenu('uploadmenu', show);
- if (this.popups.uploadmenu.obj.is(':visible'))
+ if (!document.all && this.popups.uploadmenu.obj.is(':visible'))
$('#attachment-form input[type=file]').click();
},
--
Gitblit v1.9.1