Skip to content
Snippets Groups Projects
Commit 8716ae0c authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Remove debug output

parent be8bf929
Branches
No related tags found
No related merge requests found
Pipeline #52177 passed
...@@ -295,10 +295,7 @@ console.log("huiiii"); ...@@ -295,10 +295,7 @@ console.log("huiiii");
checkSize(file) { checkSize(file) {
const i18n = this._i18n; const i18n = this._i18n;
//TODO
console.log("file size", file.size);
if ( this.maxFileSize !== '' && (this.maxFileSize * 1000) <= file.size ) { if ( this.maxFileSize !== '' && (this.maxFileSize * 1000) <= file.size ) {
console.log(!"tooooo big file", humanFileSize(this.maxFileSize * 1000, true));
send({ send({
"summary": i18n.t('file-source.too-big-file-title'), "summary": i18n.t('file-source.too-big-file-title'),
"body": i18n.t('file-source.too-big-file-body', {size: humanFileSize(this.maxFileSize * 1000, true)}), "body": i18n.t('file-source.too-big-file-body', {size: humanFileSize(this.maxFileSize * 1000, true)}),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment