Changeset 1170 in subversion


Ignore:
Timestamp:
Mar 3, 2008 4:06:53 AM (5 years ago)
Author:
thomasb
Message:

Fix bug introduced with r1167

File:
1 edited

Legend:

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

    r1167 r1170  
    10961096  this.folder_mouse_up = function(id) 
    10971097    { 
    1098     // Hide message command buttons until a message is selected 
    1099     this.enable_command('reply', 'reply-all', 'forward', 'delete', 'mark', 'print', false); 
    1100  
    11011098    if (this.drag_active) 
    11021099      { 
     
    11041101      this.command('moveto', id); 
    11051102      } 
    1106  
    11071103    }; 
    11081104 
     
    13881384    { 
    13891385    // exit if current or no mailbox specified or if selection is empty 
    1390     if (!mbox || !this.env.uid || mbox == this.env.mailbox || !this.message_list || !this.message_list.get_selection().length) 
     1386    if (!mbox || mbox == this.env.mailbox || (!this.env.uid && (!this.message_list || !this.message_list.get_selection().length))) 
    13911387      return; 
    13921388 
     
    14021398    else 
    14031399      this.show_contentframe(false); 
     1400 
     1401    // Hide message command buttons until a message is selected 
     1402    this.enable_command('reply', 'reply-all', 'forward', 'delete', 'mark', 'print', false); 
    14041403 
    14051404    this._with_selected_messages('moveto', lock, add_url); 
Note: See TracChangeset for help on using the changeset viewer.