Commit 7be194ee authored by Oleg.Korshul's avatar Oleg.Korshul

режим иероглифов во вьюере

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68929 954022d7-b5bf-4e40-9824-e11837661b57
parent b150e592
......@@ -3500,7 +3500,7 @@ function CEditorPage(api)
this.TextBoxFocus = function()
{
if (null == oThis.TextBoxInput || oThis.TextBoxInputFocus === true || oThis.TextBoxChangedValueEvent == false)
if (null == oThis.TextBoxInput || oThis.TextBoxInputFocus === true || oThis.TextBoxChangedValueEvent == false || oThis.m_oApi.isViewMode)
return;
oThis.TextBoxInputFocus = true;
......@@ -3511,6 +3511,9 @@ function CEditorPage(api)
this.OnTextBoxInput = function()
{
if (oThis.m_oApi.isViewMode)
oThis.ReinitTB();
oThis.TextBoxFocus();
oThis.CheckTextBoxSize();
}
......
......@@ -4073,7 +4073,7 @@ function CEditorPage(api)
this.TextBoxFocus = function()
{
if (null == oThis.TextBoxInput || oThis.TextBoxInputFocus === true || oThis.TextBoxChangedValueEvent == false)
if (null == oThis.TextBoxInput || oThis.TextBoxInputFocus === true || oThis.TextBoxChangedValueEvent == false || null == oThis.m_oLogicDocument || oThis.m_oApi.isViewMode)
return;
oThis.TextBoxInputFocus = true;
......@@ -4085,6 +4085,9 @@ function CEditorPage(api)
this.OnTextBoxInput = function()
{
if (null == oThis.m_oLogicDocument || oThis.m_oApi.isViewMode)
oThis.ReinitTB();
oThis.TextBoxFocus();
oThis.CheckTextBoxSize();
}
......
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