This was an old Safari 1/2 hack and is no longer needed
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 3 Aug 2010 01:58:10 +0000 (19:58 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 3 Aug 2010 01:58:10 +0000 (19:58 -0600)
imp/js/compose-dimp.js

index 7b5f9b0..f8e5173 100644 (file)
@@ -978,13 +978,6 @@ var DimpCompose = {
         $('pageContainer').show();
 
         this.resizeMsgArea();
-
-        // Safari requires a submit target iframe to be at least 1x1 size or
-        // else it will open content in a new window.  See:
-        //   http://blog.caboo.se/articles/2007/4/2/ajax-file-upload
-        if (Prototype.Browser.WebKit) {
-            $('submit_frame').writeAttribute({ position: 'absolute', width: '1px', height: '1px' }).setStyle({ left: '-999px' }).show();
-        }
     }
 
 };