We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da34f3 commit 718ed1dCopy full SHA for 718ed1d
fileshack/static/fileshack/js/fileshack.js
@@ -174,7 +174,10 @@ var FileShack = new Class({
174
}
175
176
if (ITEM_SIZE_LIMIT > 0 && file.size > ITEM_SIZE_LIMIT) {
177
- item.error(ITEM_SIZE_LIMIT_ERROR_LABEL, ITEM_SIZE_LIMIT_ERROR_MESSAGE);
+ item.onError({
178
+ label: ITEM_SIZE_LIMIT_ERROR_LABEL,
179
+ message: ITEM_SIZE_LIMIT_ERROR_MESSAGE
180
+ });
181
return;
182
183
0 commit comments