summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-26 08:03:47 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-05-26 08:03:47 +0000
commitf77c9184582746a06d3190c57e59369a85174b7f (patch)
tree5fc3c261fe5a9c1d800211bba93eb908211ff350
parent842f25cc4b416928b80c47ccf2acd6a1273022b5 (diff)
-fixed attachments sending on Opera (#1485081) + hidden iframe on Konqueror
git-svn-id: https://svn.roundcube.net/trunk@1421 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index fec57400f..aabe96b25 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -1988,7 +1988,7 @@ function rcube_webmail()
// have to do it this way for IE
// otherwise the form will be posted to a new window
- if(document.all && !window.opera)
+ if(document.all)
{
var html = '<iframe name="'+frame_name+'" src="program/blank.gif" style="width:0;height:0;visibility:hidden;"></iframe>';
document.body.insertAdjacentHTML('BeforeEnd',html);
@@ -1997,8 +1997,9 @@ function rcube_webmail()
{
var frame = document.createElement('IFRAME');
frame.name = frame_name;
- frame.width = 10;
- frame.height = 10;
+ frame.style.border = 'none';
+ frame.style.width = 0;
+ frame.style.height = 0;
frame.style.visibility = 'hidden';
document.body.appendChild(frame);
}