Bump upload size to 25MB

This commit is contained in:
Steven Silvester 2015-10-21 09:17:47 -05:00
parent 61c99ca11c
commit a34e0b72a9

View File

@ -181,11 +181,11 @@ define([
var name_and_ext = utils.splitext(f.name); var name_and_ext = utils.splitext(f.name);
var file_ext = name_and_ext[1]; var file_ext = name_and_ext[1];
// skip files over 15MB with a warning // skip files over 25MB with a warning (same as Gmail)
if (f.size > 15728640) { if (f.size > 26214400) {
dialog.modal({ dialog.modal({
title : 'Cannot upload file', title : 'Cannot upload file',
body : "Cannot upload file (>15MB) '" + f.name + "'", body : "Cannot upload file (>25MB) '" + f.name + "'",
buttons : {'OK' : { 'class' : 'btn-primary' }} buttons : {'OK' : { 'class' : 'btn-primary' }}
}); });
continue; continue;