changeset 314:657b465caaa2

Download::downloads property is used as a hash object, not array.
author Laurens Holst <laurens.hg@grauw.nl>
date Sun, 16 May 2010 14:48:58 +0200
parents 1de4a7a49d94
children 5bd86f67ebb3
files static/js/download.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/static/js/download.js	Sun May 16 14:47:03 2010 +0200
+++ b/static/js/download.js	Sun May 16 14:48:58 2010 +0200
@@ -1,5 +1,5 @@
 function Download() {
-    this.downloads = new Array();
+    this.downloads = {};
 }
 
 Download.prototype = {