[DE][PE] Change spellcheck method

This commit is contained in:
Julia Radzhabova 2019-08-06 14:32:12 +03:00
parent 1a5ac4ffcc
commit 138831b5d9
2 changed files with 4 additions and 4 deletions

View file

@ -2749,7 +2749,7 @@ define([
var menuToDictionaryTable = new Common.UI.MenuItem({
caption : me.toDictionaryText
}).on('click', function(item, e) {
me.api.asc_AddToDictionary(me._currentSpellObj);
me.api.asc_spellCheckAddToDictionary(me._currentSpellObj);
me.fireEvent('editcomplete', me);
});
@ -3378,7 +3378,7 @@ define([
var menuToDictionaryPara = new Common.UI.MenuItem({
caption : me.toDictionaryText
}).on('click', function(item, e) {
me.api.asc_AddToDictionary(me._currentSpellObj);
me.api.asc_spellCheckAddToDictionary(me._currentSpellObj);
me.fireEvent('editcomplete', me);
});

View file

@ -2184,7 +2184,7 @@ define([
var menuToDictionaryTable = new Common.UI.MenuItem({
caption : me.toDictionaryText
}).on('click', function(item, e) {
me.api.asc_AddToDictionary(me._currentSpellObj);
me.api.asc_spellCheckAddToDictionary(me._currentSpellObj);
me.fireEvent('editcomplete', me);
});
@ -2255,7 +2255,7 @@ define([
var menuToDictionaryPara = new Common.UI.MenuItem({
caption : me.toDictionaryText
}).on('click', function(item, e) {
me.api.asc_AddToDictionary(me._currentSpellObj);
me.api.asc_spellCheckAddToDictionary(me._currentSpellObj);
me.fireEvent('editcomplete', me);
});