Commit b150e592 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Сделано, чтобы во вьвере нельзя было вводить текст через окно иероглифов.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68927 954022d7-b5bf-4e40-9824-e11837661b57
parent 3cb7967f
......@@ -14480,7 +14480,7 @@ CDocument.prototype =
//-----------------------------------------------------------------------------------
TextBox_Put : function(sText, rFonts)
{
if ( false === this.Document_Is_SelectionLocked(changestype_Paragraph_Content) )
if (true !== this.Api.isViewMode && false === this.Document_Is_SelectionLocked(changestype_Paragraph_Content))
{
this.Create_NewHistoryPoint(historydescription_Document_AddTextFromTextBox);
......
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