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

правка красных крестов при копировании через ctrl

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@53005 954022d7-b5bf-4e40-9824-e11837661b57
parent afba2a67
...@@ -1677,7 +1677,9 @@ CBlipFill.prototype = ...@@ -1677,7 +1677,9 @@ CBlipFill.prototype =
{ {
var string_to_write = getFullImageSrc(this.RasterImageId); var string_to_write = getFullImageSrc(this.RasterImageId);
if(string_to_write.indexOf(window["Asc"]["editor"].documentOrigin) !== 0) if(string_to_write.indexOf(window["Asc"]["editor"].documentOrigin) !== 0
&& (0 != string_to_write.indexOf("http:") && 0 != string_to_write.indexOf("data:")
&& 0 != string_to_write.indexOf("https:") && 0 != string_to_write.indexOf("ftp:") && 0 != string_to_write.indexOf("file:")))
{ {
string_to_write = window["Asc"]["editor"].documentOrigin + string_to_write; string_to_write = window["Asc"]["editor"].documentOrigin + string_to_write;
} }
......
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