Changeset 5245 in subversion


Ignore:
Timestamp:
Sep 19, 2011 4:00:08 PM (21 months ago)
Author:
thomasb
Message:

Allow 'compose' commands from any task

File:
1 edited

Legend:

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

    r5233 r5245  
    156156 
    157157    // enable general commands 
    158     this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'undo', true); 
     158    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', true); 
    159159 
    160160    if (this.env.permaurl) 
     
    165165      case 'mail': 
    166166        // enable mail commands 
    167         this.enable_command('list', 'checkmail', 'compose', 'add-contact', 'search', 'reset-search', 'collapse-folder', true); 
     167        this.enable_command('list', 'checkmail', 'add-contact', 'search', 'reset-search', 'collapse-folder', true); 
    168168 
    169169        if (this.gui_objects.messagelist) { 
     
    810810 
    811811      case 'compose': 
    812         var url = this.env.comm_path+'&_action=compose'; 
     812        var url = this.url('mail/compose'); 
    813813 
    814814        if (this.task == 'mail') { 
Note: See TracChangeset for help on using the changeset viewer.