From 84f895ce761d8359763a1e1b140d7cf789a53fcc Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 26 May 2017 11:26:45 +0300 Subject: [PATCH] [PE mobile] Don't use spellcheck for mobile app. --- apps/presentationeditor/mobile/app/controller/Main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index 929a3afd4..ca109b2d8 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -437,6 +437,8 @@ define([ Common.localStorage.setItem("pe-settings-showsnaplines", me.api.get_ShowSnapLines() ? 1 : 0); + me.api.asc_setSpellCheck(false); // don't use spellcheck for mobile mode + me.api.asc_registerCallback('asc_onStartAction', _.bind(me.onLongActionBegin, me)); me.api.asc_registerCallback('asc_onEndAction', _.bind(me.onLongActionEnd, me)); me.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(me.onCoAuthoringDisconnect, me));