From 58676552d8129c88ab2f1a732a471bd702c74b55 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 2 Aug 2010 19:58:10 -0600 Subject: [PATCH] This was an old Safari 1/2 hack and is no longer needed --- imp/js/compose-dimp.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/imp/js/compose-dimp.js b/imp/js/compose-dimp.js index 7b5f9b08f..f8e5173c7 100644 --- a/imp/js/compose-dimp.js +++ b/imp/js/compose-dimp.js @@ -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(); - } } }; -- 2.11.0