thomascube
2006-05-25 ed5d29f4b3c57235594931d33dde7cccaf7cd58b
program/js/app.js
@@ -142,7 +142,11 @@
          }  
        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);
@@ -877,6 +881,11 @@
          location.href = url;
        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)
          break;