diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-01-21 13:10:03 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:09:39 +0000 |
commit | d061f4ba54d9b106c9d006f044318b118684d8b5 (patch) | |
tree | 00e7c5ba6143371d8aeb105d376b8e15d1950720 /Cydia.app/storage.js | |
parent | 49775c7b327111c12387c7bcecd6830c35240227 (diff) |
Limited parallelism, fixed nil storage, updated style, and added progress huds.
Diffstat (limited to 'Cydia.app/storage.js')
-rw-r--r-- | Cydia.app/storage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Cydia.app/storage.js b/Cydia.app/storage.js index 02dc51b..73d5de7 100644 --- a/Cydia.app/storage.js +++ b/Cydia.app/storage.js @@ -57,6 +57,8 @@ var setup = function (name, root, folders) { for (var i = 0; i != folders.length; ++i) { var folder = folders[i]; var usage = cydia.du(folder[1]); + if (usage == null) + usage = 0; var color = colors[i + 2]; var percent = usage / kb; list(legend, color, folder[0], percent); |