Commit de417c5c authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

поправила преддущую функцию для селекта плейсхолдера

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55490 954022d7-b5bf-4e40-9824-e11837661b57
parent c3e1f43b
......@@ -1035,18 +1035,18 @@ ParaMath.prototype =
Selection_IsPlaceholder : function()
{
var bPlaceholder = false;
var content = this.GetSelectContent();
var start = content.SelectStartPos,
end = content.SelectEndPos;
var result = this.GetSelectContent(),
SelectContent = result.Content;
var start = result.Start,
end = result.End;
if(start == end)
{
if(this.content[start].typeObj == MATH_PLACEHOLDER)
if(SelectContent.content[start].typeObj == MATH_PLACEHOLDER)
bPlaceholder = true;
}
return bPlaceholder;
},
Selection_CheckParaEnd : function()
{
......
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