Changeset 880 in subversion


Ignore:
Timestamp:
Oct 17, 2007 5:42:50 AM (6 years ago)
Author:
robin
Message:

Make sure the currently selected row is re-selected after re-initializing the folder list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r879 r880  
    26552655    var tbody = this.gui_objects.subscriptionlist.tBodies[0]; 
    26562656    var id = replace && replace.id ? replace.id : tbody.childNodes.length+1; 
     2657    var selection = this.subscription_list.get_single_selection(); 
    26572658 
    26582659    if (!id || !(refrow = document.getElementById(refid))) 
     
    26992700    this.sort_subscription_list(); 
    27002701    this.init_subscription_list(); 
     2702    if (selection) 
     2703      this.subscription_list.select_row(selection); 
    27012704 
    27022705    if (document.getElementById('rcmrow'+id).scrollIntoView) 
Note: See TracChangeset for help on using the changeset viewer.