diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-25 18:25:04 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-25 18:25:04 +0000 |
| commit | 95ad92d90c934131307b28e48195aff380bca763 (patch) | |
| tree | 782b6b09672c9f1b0f38c137adb4f89fd3039127 /roundcubemail/program/js/app.js | |
| parent | bc5599a1608e645ec29f7b67ce5692debbda6593 (diff) | |
Finalized GoogieSpell integration
git-svn-id: https://svn.roundcube.net/trunk@249 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index ae6b00f6a..98a30d330 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -142,7 +142,11 @@ function rcube_webmail() } if (this.env.action=='compose') + { this.enable_command('add-attachment', 'send-attachment', 'send', true); + if (this.env.spellcheck) + this.enable_command('spellcheck', true); + } if (this.env.messagecount) this.enable_command('select-all', 'select-none', 'sort', 'expunge', true); @@ -875,7 +879,12 @@ function rcube_webmail() parent.location.href = url; else location.href = url; - break; + break; + + case 'spellcheck': + if (this.env.spellcheck && this.env.spellcheck.spellCheck) + this.env.spellcheck.spellCheck(this.env.spellcheck.check_link); + break; case 'send': if (!this.gui_objects.messageform) |
