diff static/js/download.js @ 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 fb3ce83c1a48
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 = {