From: Michael M Slusarz Date: Tue, 3 Aug 2010 01:58:10 +0000 (-0600) Subject: This was an old Safari 1/2 hack and is no longer needed X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=58676552d8129c88ab2f1a732a471bd702c74b55;p=horde.git This was an old Safari 1/2 hack and is no longer needed --- 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(); - } } };