Changeset 2261 in subversion


Ignore:
Timestamp:
Jan 24, 2009 7:59:25 AM (4 years ago)
Author:
thomasb
Message:

Bugfix of the recent jqueryfication

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel-api/program/js/app.js

    r2260 r2261  
    27362736  // update a contact record in the list 
    27372737  this.update_contact_row = function(cid, cols_arr) 
    2738     { 
     2738  { 
    27392739    var row; 
    2740     if (this.contact_list.rows[cid] && (row = this.contact_list.rows[cid].obj)) 
    2741       { 
     2740    if (this.contact_list.rows[cid] && (row = this.contact_list.rows[cid].obj)) { 
    27422741      for (var c=0; c<cols_arr.length; c++) 
    2743         $(row.cells[c]).html(cols_arr[c]); 
     2742        if (row.cells[c]) 
     2743          $(row.cells[c]).html(cols_arr[c]); 
    27442744 
    27452745      return true; 
    2746       } 
     2746    } 
    27472747 
    27482748    return false; 
    2749     }; 
     2749  }; 
    27502750 
    27512751 
Note: See TracChangeset for help on using the changeset viewer.