From eeae0b300a887435ccba61514f3c94ae93bf46ff Mon Sep 17 00:00:00 2001 From: Hsiao-Ting Yu Date: Sat, 27 Jul 2013 03:46:20 +0800 Subject: [PATCH] Download should be able to pause =w= --- modules/DownloadManager.jsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/DownloadManager.jsm b/modules/DownloadManager.jsm index b06a40c..9442143 100644 --- a/modules/DownloadManager.jsm +++ b/modules/DownloadManager.jsm @@ -860,7 +860,7 @@ downloadQueueRunner.dbFail = function() { /* Handle downloader (DownloadUtils.nico) events. In the function, this will be the downloader instance. */ function handleDownloaderEvent(type, content) { /* To prevent "stop" to be called when canceled */ - if(this._canceled && type != "cancel" && type != "fail") { return; } + if(this._canceled && type != "cancel" && type != "fail" && type != "pause") { return; } var id = this.dbId; switch(type) {