diff options
author | thomascube <thomas@roundcube.net> | 2012-01-05 16:14:31 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2012-01-05 16:14:31 +0000 |
commit | 8304e5d76cd96d78a9cbddaf5d2407b5dc31d079 (patch) | |
tree | 3e9eae2e611c47822b84bafc1408485712d76fe4 /program/js/app.js | |
parent | eeb73cc21ae499f74a2e749d8f824bbc27bb3620 (diff) |
Don't enable all compose commands right away
Diffstat (limited to 'program/js/app.js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index b9baf0ed1..57f54d033 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -247,14 +247,16 @@ function rcube_webmail() } } else if (this.env.action == 'compose') { - this.env.compose_commands = ['send-attachment', 'remove-attachment', 'send', 'cancel', 'toggle-editor', - 'list-adresses', 'add-recipient', 'firstpage', 'previouspage', 'nextpage', 'lastpage']; + this.env.compose_commands = ['send-attachment', 'remove-attachment', 'send', 'cancel', 'toggle-editor', 'list-adresses']; if (this.env.drafts_mailbox) this.env.compose_commands.push('savedraft') this.enable_command(this.env.compose_commands, 'identities', true); + // add more commands (not enabled) + $.merge(this.env.compose_commands, ['add-recipient', 'firstpage', 'previouspage', 'nextpage', 'lastpage']); + if (this.env.spellcheck) { this.env.spellcheck.spelling_state_observer = function(s){ ref.set_spellcheck_state(s); }; this.env.compose_commands.push('spellcheck') |