* Removed arbitrary upper bound in message select array, after realizing that
authorArt Cancro <ajc@citadel.org>
Thu, 10 Nov 2005 04:08:57 +0000 (04:08 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 10 Nov 2005 04:08:57 +0000 (04:08 +0000)
  JavaScript arrays don't need to have their size declared.

webcit/ChangeLog
webcit/static/wclib.js

index c1511832d1aedf21688f0d39d9baf71b7a23c172..59ac15b5bfd1058f2599b93180a15f864ac83759 100644 (file)
@@ -1,5 +1,9 @@
 $Id$
 
+Wed Nov  9 23:07:44 EST 2005 ajc
+* Removed arbitrary upper bound in message select array, after realizing that
+  JavaScript arrays don't need to have their size declared.
+
 Tue Nov  8 23:50:01 EST 2005 ajc
 * Mailbox view: selected messages are now draggable!!  (Now we just need to
   implement a place to drop them.)
index 23ef4f8ddd712a3a5f4f261fe4e36009d1517976..3b9574006c791744a2fb6e1f9cc3fefccab01dac 100644 (file)
@@ -55,7 +55,7 @@ function activate_entmsg_autocompleters() {
 // Static variables for mailbox view...
 //
 var CtdlNumMsgsSelected = 0;
-var CtdlMsgsSelected = new Array(65536);       // arbitrary
+var CtdlMsgsSelected = new Array();
 
 // This gets called when you single click on a message in the mailbox view.
 // We know that the element id of the table row will be the letter 'm' plus the message number.