diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-09-26 16:40:38 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-09-26 16:40:50 +0200 |
commit | 967d6dd16c25ceba22dcd105079f72534ddb87e9 (patch) | |
tree | 4c971ff446dc955f1884e5aa80ef4cb62bbf55fe /pyload/web/app/scripts | |
parent | new DLC plugins (diff) | |
download | pyload-967d6dd16c25ceba22dcd105079f72534ddb87e9.tar.xz |
rewritten decrypter and info fetching thread
Diffstat (limited to 'pyload/web/app/scripts')
-rw-r--r-- | pyload/web/app/scripts/helpers/linkStatus.js | 2 | ||||
-rw-r--r-- | pyload/web/app/scripts/models/LinkStatus.js | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/pyload/web/app/scripts/helpers/linkStatus.js b/pyload/web/app/scripts/helpers/linkStatus.js index 2497785fb..448d63691 100644 --- a/pyload/web/app/scripts/helpers/linkStatus.js +++ b/pyload/web/app/scripts/helpers/linkStatus.js @@ -5,7 +5,7 @@ define('helpers/linkStatus', ['underscore', 'handlebars', 'utils/apitypes', 'uti var s; if (status === Api.DownloadStatus.Online) s = '<span class="text-success">' + i18n.gettext('online') + '</span>'; - else if (status === Api.DownloadState.Offline) + else if (status === Api.DownloadStatus.Offline) s = '<span class="text-error">' + i18n.gettext('offline') + '</span>'; else s = '<span class="text-info">' + i18n.gettext('unknown') + '</span>'; diff --git a/pyload/web/app/scripts/models/LinkStatus.js b/pyload/web/app/scripts/models/LinkStatus.js index 2be1ce368..be6385c9c 100644 --- a/pyload/web/app/scripts/models/LinkStatus.js +++ b/pyload/web/app/scripts/models/LinkStatus.js @@ -8,9 +8,10 @@ define(['jquery', 'backbone', 'underscore', 'app', 'utils/apitypes'], defaults: { name: '', - plugin: '', size: -1, - status: Api.DownloadStatus.Queued + status: Api.DownloadStatus.Queued, + plugin: '', + hash: null }, destroy: function() { |