summaryrefslogtreecommitdiffstats
path: root/pyload/web/app
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-29 18:51:38 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-29 18:51:38 +0100
commit3401bcfd5ed57dec9e0f78553d627d7608170cb6 (patch)
treec36ac6fe4581379ed03f72409244aa40414b9580 /pyload/web/app
parentfixed new waiting dl rule (diff)
downloadpyload-3401bcfd5ed57dec9e0f78553d627d7608170cb6.tar.xz
added connection flags to download status
Diffstat (limited to 'pyload/web/app')
-rw-r--r--pyload/web/app/scripts/utils/apitypes.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyload/web/app/scripts/utils/apitypes.js b/pyload/web/app/scripts/utils/apitypes.js
index 88123f7ea..08bdfd200 100644
--- a/pyload/web/app/scripts/utils/apitypes.js
+++ b/pyload/web/app/scripts/utils/apitypes.js
@@ -3,6 +3,7 @@
define([], function() {
'use strict';
return {
+ Connection: {'All': 0, 'Resumable': 1, 'Secure': 2},
DownloadState: {'Failed': 3, 'All': 0, 'Unmanaged': 4, 'Finished': 1, 'Unfinished': 2},
DownloadStatus: {'NotPossible': 13, 'FileMismatch': 15, 'Downloading': 10, 'Missing': 14, 'NA': 0, 'Processing': 18, 'Waiting': 9, 'Decrypting': 17, 'Paused': 4, 'Failed': 7, 'Finished': 5, 'Skipped': 6, 'Unknown': 20, 'Aborted': 12, 'Online': 2, 'Starting': 8, 'TempOffline': 11, 'Offline': 1, 'Custom': 19, 'Occupied': 16, 'Queued': 3},
FileStatus: {'Remote': 2, 'Ok': 0, 'Missing': 1},