diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-04 11:40:02 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-07-04 11:40:02 +0000 |
| commit | a07a1ac63ad984de9b8b36dee4ad8ea9824b6b7b (patch) | |
| tree | 18d685ded2047f2f21393e5fd352e0e33470fe76 /roundcubemail/program/steps/mail/compose.inc | |
| parent | 530c964d88c744f36a67e0ccce53b23a6735c6b4 (diff) | |
- Add optional textual upload progress indicator (#1486039)
git-svn-id: https://svn.roundcube.net/trunk@4902 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/compose.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 943c800b5..458441fda 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -1199,12 +1199,15 @@ function rcmail_compose_attachment_list($attrib) function rcmail_compose_attachment_form($attrib) { - global $OUTPUT; + global $RCMAIL, $OUTPUT; // add ID if not given if (!$attrib['id']) $attrib['id'] = 'rcmUploadbox'; + // Enable upload progress bar + rcube_upload_progress_init(); + // find max filesize value $max_filesize = parse_bytes(ini_get('upload_max_filesize')); $max_postsize = parse_bytes(ini_get('post_max_size')); |
