Update Googiespell to version 4.0

release-0.6
thomascube 16 years ago
parent 82475f4b16
commit ffa6c1011c

@ -902,8 +902,7 @@ function rcube_webmail()
tinyMCE.execCommand('mceSpellCheck', true); tinyMCE.execCommand('mceSpellCheck', true);
} }
else if (this.env.spellcheck && this.env.spellcheck.spellCheck && this.spellcheck_ready) { else if (this.env.spellcheck && this.env.spellcheck.spellCheck && this.spellcheck_ready) {
this.env.spellcheck.spellCheck(this.env.spellcheck.check_link); this.env.spellcheck.spellCheck();
this.set_spellcheck_state('checking');
} }
break; break;
@ -2132,7 +2131,7 @@ function rcube_webmail()
this.set_spellcheck_state = function(s) 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); this.enable_command('spellcheck', this.spellcheck_ready);
}; };

File diff suppressed because it is too large Load Diff

@ -62,6 +62,7 @@
cursor: pointer; cursor: pointer;
} }
.googie_resume_editing,
.googie_check_spelling_link { .googie_check_spelling_link {
color: #CC0000; color: #CC0000;
font-size: 11px; font-size: 11px;
@ -69,10 +70,15 @@
cursor: pointer; cursor: pointer;
} }
.googie_resume_editing:hover,
.googie_check_spelling_link:hover { .googie_check_spelling_link:hover {
text-decoration: underline; text-decoration: underline;
} }
.googie_resume_editing {
color: green;
}
.googie_no_style { .googie_no_style {
text-decoration: none; text-decoration: none;
} }

Loading…
Cancel
Save