thomascube
2008-09-04 0dbac3218130dfe418d6c7dc162f819c746bec2d
program/js/list.js
@@ -31,6 +31,7 @@
  this.frame = null;
  this.rows = [];
  this.selection = [];
  this.rowcount = 0;
  
  this.subject_col = -1;
  this.shiftkey = false;
@@ -69,6 +70,7 @@
  if (this.list && this.list.tBodies[0])
  {
    this.rows = new Array();
    this.rowcount = 0;
    var row;
    for(var r=0; r<this.list.tBodies[0].childNodes.length; r++)
@@ -81,6 +83,7 @@
      }
      this.init_row(row);
      this.rowcount++;
    }
    this.frame = this.list.parentNode;
@@ -128,6 +131,7 @@
  this.list.insertBefore(tbody, this.list.tBodies[0]);
  this.list.removeChild(this.list.tBodies[1]);
  this.rows = new Array();
  this.rowcount = 0;
  
  if (sel) this.clear_selection();
},
@@ -145,6 +149,7 @@
    this.select_next();
  this.rows[uid] = null;
  this.rowcount--;
},
@@ -161,6 +166,7 @@
    tbody.appendChild(row);
  this.init_row(row);
  this.rowcount++;
},