thomascube
2007-04-28 f1154163b0a9efb21d722bc658352739040ffd61
program/js/list.js
@@ -95,7 +95,7 @@
init_row: function(row)
{
  // make references in internal array and set event handlers
  if (row && String(row.id).match(/rcmrow([0-9]+)/))
  if (row && String(row.id).match(/rcmrow([a-z0-9\-_=]+)/i))
  {
    var p = this;
    var uid = RegExp.$1;
@@ -117,12 +117,14 @@
/**
 *
 */
clear: function()
clear: function(sel)
{
  var tbody = document.createElement('TBODY');
  this.list.insertBefore(tbody, this.list.tBodies[0]);
  this.list.removeChild(this.list.tBodies[1]);
  this.rows = new Array();
  this.rows = new Array();
  if (sel) this.clear_selection();
},