Changeset 1021 in subversion


Ignore:
Timestamp:
Feb 5, 2008 6:24:30 PM (5 years ago)
Author:
thomasb
Message:

Also send search request when deleting a contact (#1484620)

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r1020 r1021  
    99- Applied patch for updating page title (#1484727, #1484650) 
    1010- Applied patch to prevent from purging inbox by uberlinuxguy (#1484449) 
     11- Also send search request when deleting a contact (#1484620) 
    1112- Add CSS hack for Safari 
    1213 
  • trunk/roundcubemail/program/js/app.js

    r1020 r1021  
    23792379       
    23802380    var a_cids = new Array(); 
     2381    var qs = ''; 
    23812382 
    23822383    if (this.env.cid) 
     
    23972398      } 
    23982399 
     2400    // also send search request to get the right records from the next page 
     2401    if (this.env.search_request)  
     2402      qs += '&_search='+this.env.search_request; 
     2403 
    23992404    // send request to server 
    2400     this.http_post('delete', '_cid='+urlencode(a_cids.join(','))+'&_from='+(this.env.action ? this.env.action : '')); 
     2405    this.http_post('delete', '_cid='+urlencode(a_cids.join(','))+'&_from='+(this.env.action ? this.env.action : '')+qs); 
    24012406    return true; 
    24022407    }; 
Note: See TracChangeset for help on using the changeset viewer.