Commit da0706dc authored by Oleg Korshul's avatar Oleg Korshul

developing...

parent 73cb7d64
......@@ -3593,6 +3593,8 @@ var editor;
prot["asc_InputClearKeyboardElement"] = prot.asc_InputClearKeyboardElement;
prot["asc_OnHideContextMenu"] = prot.asc_OnHideContextMenu;
// mobile
prot["asc_Remove"] = prot.asc_Remove;
})(window);
......@@ -2136,6 +2136,15 @@
return _count;
};
CMobileTouchManagerBase.prototype.showKeyboard = function()
{
if (AscCommon.g_inputContext)
{
// нужно проверить, виден ли только курсор!!! и сделать это в делегате
//AscCommon.g_inputContext.HtmlArea.focus();
}
};
//--------------------------------------------------------export----------------------------------------------------
AscCommon.CMobileDelegateSimple = CMobileDelegateSimple;
AscCommon.CMobileTouchManagerBase = CMobileTouchManagerBase;
......
......@@ -1280,6 +1280,10 @@
return AscCommon.TextBoxInputMode;
};
baseEditorsApi.prototype.asc_OnHideContextMenu = function()
{
};
//----------------------------------------------------------export----------------------------------------------------
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].baseEditorsApi = baseEditorsApi;
......
......@@ -6861,6 +6861,8 @@ background-repeat: no-repeat;\
asc_docs_api.prototype["AddShapeOnCurrentPage"] = asc_docs_api.prototype.AddShapeOnCurrentPage;
asc_docs_api.prototype["can_CopyCut"] = asc_docs_api.prototype.can_CopyCut;
asc_docs_api.prototype["asc_OnHideContextMenu"] = asc_docs_api.prototype.asc_OnHideContextMenu;
window['Asc']['asc_CCommentData'] = window['Asc'].asc_CCommentData = asc_CCommentData;
asc_CCommentData.prototype['asc_getText'] = asc_CCommentData.prototype.asc_getText;
......
......@@ -7495,6 +7495,14 @@ background-repeat: no-repeat;\
};
/********************************************************************/
asc_docs_api.prototype.asc_OnHideContextMenu = function()
{
if (this.WordControl.MobileTouchManager)
{
this.WordControl.MobileTouchManager.showKeyboard();
}
};
// desktop editor spellcheck
function CSpellCheckApi_desktop()
{
......@@ -8040,6 +8048,8 @@ background-repeat: no-repeat;\
// mobile
asc_docs_api.prototype["asc_GetDefaultTableStyles"] = asc_docs_api.prototype.asc_GetDefaultTableStyles;
asc_docs_api.prototype["asc_Remove"] = asc_docs_api.prototype.asc_Remove;
asc_docs_api.prototype["asc_OnHideContextMenu"] = asc_docs_api.prototype.asc_OnHideContextMenu;
CDocInfoProp.prototype['get_PageCount'] = CDocInfoProp.prototype.get_PageCount;
CDocInfoProp.prototype['put_PageCount'] = CDocInfoProp.prototype.put_PageCount;
CDocInfoProp.prototype['get_WordsCount'] = CDocInfoProp.prototype.get_WordsCount;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment