Changeset a1f7e90a in github


Ignore:
Timestamp:
May 6, 2010 5:21:36 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:
c6a6d25
Parents:
69729855
Message:
  • Fix select_all_mode value after selecting a message (#1486720)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r1f019c8 ra1f7e90a  
    22=========================== 
    33 
     4- Fix select_all_mode value after selecting a message (#1486720) 
    45- Set focus to editor on reply in HTML mode (#1486632) 
    56- Fix composing in HTML jumps cursor to body instead of recipients (#1486674) 
  • program/js/app.js

    r9800a82 ra1f7e90a  
    8888    if (over) button_prop.over = over; 
    8989 
    90     this.buttons[command][this.buttons[command].length] = button_prop;     
     90    this.buttons[command][this.buttons[command].length] = button_prop; 
    9191  }; 
    9292 
     
    14001400 
    14011401    // Hide certain command buttons when Drafts folder is selected 
    1402     if (this.env.mailbox == this.env.drafts_mailbox) { 
    1403       this.enable_command('reply', 'reply-all', 'forward', false); 
    1404       this.enable_command('show', 'print', 'open', 'edit', 'download', 'viewsource', selected); 
    1405       this.enable_command('delete', 'moveto', 'copy', 'mark', (list.selection.length > 0 ? true : false)); 
    1406     } 
    1407     else { 
    1408       this.enable_command('show', 'reply', 'reply-all', 'forward', 'print', 'edit', 'open', 'download', 'viewsource', selected); 
    1409       this.enable_command('delete', 'moveto', 'copy', 'mark', (list.selection.length > 0 ? true : false)); 
    1410     } 
     1402    this.enable_command('reply', 'reply-all', 'forward', this.env.mailbox == this.env.drafts_mailbox ? false : selected); 
     1403    this.enable_command('show', 'print', 'open', 'edit', 'download', 'viewsource', selected); 
     1404    this.enable_command('delete', 'moveto', 'copy', 'mark', (list.selection.length > 0 ? true : false)); 
     1405 
     1406    // reset all-pages-selection 
     1407    this.select_all_mode = false; 
    14111408 
    14121409    // start timer for message preview (wait for double click) 
Note: See TracChangeset for help on using the changeset viewer.