diff --git a/apps/documenteditor/main/app/view/DocumentHolder.js b/apps/documenteditor/main/app/view/DocumentHolder.js index 165a367a6..de4b997ba 100644 --- a/apps/documenteditor/main/app/view/DocumentHolder.js +++ b/apps/documenteditor/main/app/view/DocumentHolder.js @@ -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); }); diff --git a/apps/presentationeditor/main/app/view/DocumentHolder.js b/apps/presentationeditor/main/app/view/DocumentHolder.js index 9c69e371d..a553691a4 100644 --- a/apps/presentationeditor/main/app/view/DocumentHolder.js +++ b/apps/presentationeditor/main/app/view/DocumentHolder.js @@ -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); });