diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-07-31 22:51:23 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-07-31 22:51:23 +0000 |
| commit | b4aca1db30f57f8172231dd314fae9d392967bdf (patch) | |
| tree | c8afd63f133d0c647c50c51e9c8119c4a44cc19e /roundcubemail/program/steps/mail/upload.inc | |
| parent | 05ba3ebd3d618e8a7c90f486996ca2fa7a5794e4 (diff) | |
Compose, save and sendmail cleanup
git-svn-id: https://svn.roundcube.net/trunk@288 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/upload.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/upload.inc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/roundcubemail/program/steps/mail/upload.inc b/roundcubemail/program/steps/mail/upload.inc index 0af8eed46..abab3891b 100644 --- a/roundcubemail/program/steps/mail/upload.inc +++ b/roundcubemail/program/steps/mail/upload.inc @@ -53,18 +53,12 @@ foreach ($_FILES['_attachments']['tmp_name'] as $i => $filepath) // send html page with JS calls as response -print <<<EOF -<html> -<script type="text/javascript"> -if (parent.$JS_OBJECT_NAME) -{ +$frameout = <<<EOF $response parent.$JS_OBJECT_NAME.show_attachment_form(false); parent.$JS_OBJECT_NAME.auto_save_start(); -} -</script> -</html> EOF; -exit; + +rcube_iframe_response($frameout); ?> |
