Commit c1373938 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

курсор не показывается, когда контрол не в фокусе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56688 954022d7-b5bf-4e40-9824-e11837661b57
parent d0232aab
...@@ -3218,7 +3218,7 @@ function CDrawingDocument() ...@@ -3218,7 +3218,7 @@ function CDrawingDocument()
} }
this.DrawTarget = function() this.DrawTarget = function()
{ {
if ( "block" != oThis.TargetHtmlElement.style.display && oThis.NeedTarget ) if ( "block" != oThis.TargetHtmlElement.style.display && oThis.NeedTarget && oThis.m_oWordControl.IsFocus )
oThis.TargetHtmlElement.style.display = "block"; oThis.TargetHtmlElement.style.display = "block";
else else
oThis.TargetHtmlElement.style.display = "none"; oThis.TargetHtmlElement.style.display = "none";
......
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