From c4522bf3aa335b45f71ca156efe3f1d3cf2271ad Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Tue, 27 Mar 2018 15:07:46 +0300 Subject: [PATCH] Change label of the content control --- word/Editor/StructuredDocumentTags/BlockLevel.js | 2 +- word/Editor/StructuredDocumentTags/InlineLevel.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/word/Editor/StructuredDocumentTags/BlockLevel.js b/word/Editor/StructuredDocumentTags/BlockLevel.js index f9bf0a6a3a..b7daca3422 100644 --- a/word/Editor/StructuredDocumentTags/BlockLevel.js +++ b/word/Editor/StructuredDocumentTags/BlockLevel.js @@ -659,7 +659,7 @@ CBlockLevelSdt.prototype.DrawContentControlsTrack = function(isHover) arrRects.push({X : oBounds.Left, Y : oBounds.Top, R : oBounds.Right, B : oBounds.Bottom, Page : nPageAbs}); } - var sName = this.GetTag(); + var sName = this.GetLabel(); var isBuiltIn = false; var arrButtons = []; diff --git a/word/Editor/StructuredDocumentTags/InlineLevel.js b/word/Editor/StructuredDocumentTags/InlineLevel.js index 1918e2ea1d..4a2fb72315 100644 --- a/word/Editor/StructuredDocumentTags/InlineLevel.js +++ b/word/Editor/StructuredDocumentTags/InlineLevel.js @@ -269,7 +269,7 @@ CInlineLevelSdt.prototype.DrawContentControlsTrack = function(isHover) var oDrawingDocument = this.Paragraph.LogicDocument.Get_DrawingDocument(); - var sName = this.GetTag(); + var sName = this.GetLabel(); var isBuiltIn = false; var arrButtons = [];