(file)
| 813 | } |
| 814 | |
| 815 | enqueueFile(file) { |
| 816 | if (file.status === Dropzone.ADDED && file.accepted === true) { |
| 817 | file.status = Dropzone.QUEUED; |
| 818 | if (this.options.autoProcessQueue) { |
| 819 | return setTimeout(() => this.processQueue(), 0); // Deferring the call |
| 820 | } |
| 821 | } else { |
| 822 | throw new Error( |
| 823 | "This file can't be queued because it has already been processed or was rejected." |
| 824 | ); |
| 825 | } |
| 826 | } |
| 827 | |
| 828 | _enqueueThumbnail(file) { |
| 829 | if ( |
no test coverage detected