Commit bead40ea authored by Sergey Luzyanin's avatar Sergey Luzyanin

asc_GoToInternalHyperlink

parent 04c6d4d7
......@@ -5567,6 +5567,19 @@ background-repeat: no-repeat;\
this.sendEvent("asc_onHyperlinkClick", Url);
};
asc_docs_api.prototype.asc_GoToInternalHyperlink = function(){
for(var i = 0; i < this.SelectedObjectsStack.length; ++i){
if(this.SelectedObjectsStack[i].Type === c_oAscTypeSelectElement.Hyperlink){
var oHyperProp = this.SelectedObjectsStack[i].Value;
if(typeof oHyperProp.Value === "string" && oHyperProp.Value.indexOf("ppaction://hlink") === 0){
this.sync_HyperlinkClickCallback(oHyperProp.Value);
}
return;
}
}
};
asc_docs_api.prototype.UpdateInterfaceState = function()
{
if (this.WordControl.m_oLogicDocument != null)
......
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