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

Bug 25926 - Не осществляется переход по ссылке в Shape по Control+Enter

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57768 954022d7-b5bf-4e40-9824-e11837661b57
parent 79bd59fb
......@@ -3586,10 +3586,21 @@ DrawingObjectsController.prototype =
}
else if ( e.keyCode == 13 && false === isViewMode ) // Enter
{
if(this.getTargetDocContent())
var target_doc_content = this.getTargetDocContent();
if(target_doc_content)
{
this.checkSelectedObjectsAndCallback(this.addNewParagraph, []);
this.recalculate();
var hyperlink = this.hyperlinkCheck(false);
if(hyperlink && !e.shiftKey)
{
window["Asc"]["editor"].wb.handlers.trigger("asc_onHyperlinkClick", hyperlink.Get_Value());
hyperlink.Set_Visited(true);
this.drawingObjects.showDrawingObjects(true);
}
else
{
this.checkSelectedObjectsAndCallback(this.addNewParagraph, []);
this.recalculate();
}
}
else
{
......
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