Changeset 5407

Show
Ignore:
Timestamp:
08/28/06 14:59:25 (2 years ago)
Author:
ttrenka
Message:

Fixes #1288.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/widget/SortableTable.js

    r5253 r5407  
    253253                                        var val=data[i][field]; 
    254254                                        var t=this.columns[j].sortType.toLowerCase(); 
    255                                         if(val){ 
     255                                        if(val!=null){ 
    256256                                                o[field]=new type(val); 
    257257                                        }else{ 
     
    289289                                        var type=this.columns[j].getType(); 
    290290                                        var val=dojo.html.renderedTextContent(cells[j]); //     should be the same index as the column. 
    291                                         if (val) o[field]=new type(val); 
     291                                        if (val!=null) o[field]=new type(val); 
    292292                                        else o[field]=new type();       //      let it use the default. 
    293293                                }