summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-05-26 08:03:47 +0000
committeralecpl <alec@alec.pl>2008-05-26 08:03:47 +0000
commitee0da553c8e6d34453379fc8c6842bc453c28783 (patch)
tree2cd85d597799603616c77e07b09ed96e3598679d /program
parentb183d3dfd4a3a06524f47124996292ed99865e5f (diff)
-fixed attachments sending on Opera (#1485081) + hidden iframe on Konqueror
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index fec57400f..aabe96b25 100644
--- a/program/js/app.js
+++ b/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);
}