MantisBT: master 613e8856

Author Committer Branch Timestamp Parent
cproensa atrol master 2019-02-09 09:02 master 3965532b
Affected Issues  0025463: Dropzone max-filesize option is not correct
Changeset

Fix dropzone max file size setting

The maximum file size for uploads can be affected by both mantis
configuration and php settings.
Fix the setting of max size in dropzone object with the actual max size.

Encapsulate the method of calculation and refactor usages of
'max_file_size'.

Fixes: 0025463

mod - api/soap/mc_file_api.php Diff File
mod - bug_report_page.php Diff File
mod - bugnote_add_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/file_api.php Diff File
mod - core/print_api.php Diff File
mod - plugins/XmlImportExport/pages/import.php Diff File
mod - proj_doc_add_page.php Diff File
mod - proj_doc_edit_page.php Diff File
mod - proj_doc_update.php Diff File