Commit 63942866 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 24984 - Отменить возможность вставки гиперссылки внутри элемента "chart title"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56963 954022d7-b5bf-4e40-9824-e11837661b57
parent f0c42097
......@@ -1386,9 +1386,13 @@ DrawingObjectsController.prototype =
hyperlinkCanAdd: function(bCheckInHyperlink)
{
var content = this.getTargetDocContent();
if(this.document && content.Parent && content.Parent instanceof CTextBody)
return false;
return content && content.Hyperlink_CanAdd(bCheckInHyperlink);
if(content)
{
if(this.document && content.Parent && content.Parent instanceof CTextBody)
return false;
return content.Hyperlink_CanAdd(bCheckInHyperlink);
}
return false;
},
hyperlinkRemove: 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