Changeset b5002a01 in github


Ignore:
Timestamp:
May 10, 2010 6:00:00 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
5933d98
Parents:
500af6f
Message:
  • Fix setting sorting order to "None"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/js/app.js

    r500af6f rb5002a01  
    17001700    var update, add_url = ''; 
    17011701 
    1702     if (!sort_col) sort_col = this.env.sort_col; 
    1703     if (!sort_order) sort_order = this.env.sort_order; 
     1702    if (sort_col === null) 
     1703      sort_col = this.env.sort_col; 
     1704    if (!sort_order) 
     1705      sort_order = this.env.sort_order; 
    17041706 
    17051707    if (this.env.sort_col != sort_col || this.env.sort_order != sort_order) { 
     
    17101712    if (this.env.threading != threads) { 
    17111713      update = 1; 
    1712       add_url += '&_threads=' + threads;      
     1714      add_url += '&_threads=' + threads; 
    17131715    } 
    17141716 
     
    17271729        if (cols[i]) 
    17281730          newcols[newcols.length] = cols[i]; 
    1729        
     1731 
    17301732      if (newcols.join() != this.env.coltypes.join()) { 
    17311733        update = 1; 
     
    19271929  }; 
    19281930 
    1929   // thread expanding/collapsing handler     
     1931  // thread expanding/collapsing handler 
    19301932  this.expand_message_row = function(e, uid) 
    19311933  { 
     
    19421944  // message list expanding 
    19431945  this.expand_threads = function() 
    1944   {     
     1946  { 
    19451947    if (!this.env.threading || !this.env.autoexpand_threads || !this.message_list) 
    19461948      return; 
Note: See TracChangeset for help on using the changeset viewer.