Commit 1fd04cec authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=25051 - Теряется адрес ссылки при...

http://bugzserver/show_bug.cgi?id=25051 - Теряется адрес ссылки при копировании между safari и chrome

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57240 954022d7-b5bf-4e40-9824-e11837661b57
parent c63d012f
......@@ -1438,6 +1438,7 @@
}
//link
var findHyperLink = $(node).find("a");
if($(node).children('a').length == 1 && oNewItem[0] != undefined)
{
oNewItem.hyperLink = $(node).children('a').attr('href');
......@@ -1446,6 +1447,14 @@
else
oNewItem.toolTip = null;
}
else if(findHyperLink && findHyperLink[0] && oNewItem[0] != undefined && findHyperLink.length == 1)
{
oNewItem.hyperLink = findHyperLink.attr('href');
if(findHyperLink.attr('title'))
oNewItem.toolTip = findHyperLink.attr('title');
else
oNewItem.toolTip = null;
}
else if(node.nodeName.toLowerCase() == 'a')
{
oNewItem.hyperLink = $(node).attr('href');
......
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