(feat) you can now limit the file upload size using WOMaxUploadSize

This commit is contained in:
Ludovic Marcotte committed 2016-02-17 08:24:32 -05:00
1 parent e47bc8cb1b
commit 1f71cff18d
4 files changed
+17

No files matched your search

@@ -44,6 +44,12 @@
this.removeFromQueue(item);
},
onErrorItem: function(item, response, status, headers) {
$mdToast.show(
$mdToast.simple()
.content(l('An error occured while uploading' + ' ' + item.file.name))
.position('top right')
.hideDelay(3000));
this.removeFromQueue(item);
//console.debug(item); console.debug('error = ' + JSON.stringify(response, undefined, 2));
}
});