diff options
author | thomascube <thomas@roundcube.net> | 2006-07-31 22:51:23 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-07-31 22:51:23 +0000 |
commit | 41fa0b909ac1fe80dd103e8d986776ef46a5b50a (patch) | |
tree | 0a7e053b57951761e9e8662dd799cf46a2b7906a /program/steps/mail/upload.inc | |
parent | abb32edbeb0e4c9be7b38c4162bd8c7cbd06dc74 (diff) |
Compose, save and sendmail cleanup
Diffstat (limited to 'program/steps/mail/upload.inc')
-rw-r--r-- | program/steps/mail/upload.inc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/program/steps/mail/upload.inc b/program/steps/mail/upload.inc index 0af8eed46..abab3891b 100644 --- a/program/steps/mail/upload.inc +++ b/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); ?> |