thomascube
2009-05-01 ffa6c1011c2330c19038482aa7256790f5539380
program/js/app.js
@@ -902,8 +902,7 @@
          tinyMCE.execCommand('mceSpellCheck', true);
        }
        else if (this.env.spellcheck && this.env.spellcheck.spellCheck && this.spellcheck_ready) {
          this.env.spellcheck.spellCheck(this.env.spellcheck.check_link);
          this.set_spellcheck_state('checking');
          this.env.spellcheck.spellCheck();
        }
        break;
@@ -2132,7 +2131,7 @@
  this.set_spellcheck_state = function(s)
    {
    this.spellcheck_ready = (s=='check_spelling' || s=='ready');
    this.spellcheck_ready = (s=='check_spelling' || s=='spell_check' || s=='ready');
    this.enable_command('spellcheck', this.spellcheck_ready);
    };