mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-15 04:00:34 +08:00
Bump upload size to 25MB
This commit is contained in:
parent
61c99ca11c
commit
a34e0b72a9
@ -181,11 +181,11 @@ define([
|
||||
var name_and_ext = utils.splitext(f.name);
|
||||
var file_ext = name_and_ext[1];
|
||||
|
||||
// skip files over 15MB with a warning
|
||||
if (f.size > 15728640) {
|
||||
// skip files over 25MB with a warning (same as Gmail)
|
||||
if (f.size > 26214400) {
|
||||
dialog.modal({
|
||||
title : 'Cannot upload file',
|
||||
body : "Cannot upload file (>15MB) '" + f.name + "'",
|
||||
body : "Cannot upload file (>25MB) '" + f.name + "'",
|
||||
buttons : {'OK' : { 'class' : 'btn-primary' }}
|
||||
});
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user