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);
}
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;
@ -2123,8 +2122,8 @@ function rcube_webmail()
if (this.env.spellcheck) {
// stop spellchecking process
if (!vis)
this.stop_spellchecking();
this.stop_spellchecking();
this.env.spellcheck.check_link.style.visibility = vis ? 'visible' : 'hidden';
this.env.spellcheck.switch_lan_pic.style.visibility = vis ? 'visible' : 'hidden';
}
@ -2132,7 +2131,7 @@ function rcube_webmail()
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);
};

File diff suppressed because it is too large Load Diff

@ -62,17 +62,23 @@
cursor: pointer;
}
.googie_check_spelling_link {
.googie_resume_editing,
.googie_check_spelling_link {
color: #CC0000;
font-size: 11px;
text-decoration: none;
cursor: pointer;
}
.googie_resume_editing:hover,
.googie_check_spelling_link:hover {
text-decoration: underline;
}
.googie_resume_editing {
color: green;
}
.googie_no_style {
text-decoration: none;
}

Loading…
Cancel
Save