Commit 73567c1f authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

картинки base64 не продгружались на сервер(при вставке из html)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61818 954022d7-b5bf-4e40-9824-e11837661b57
parent 50f2e443
......@@ -5058,7 +5058,7 @@ PasteProcessor.prototype =
var src = this.oImages[image];
if(0 == src.indexOf("file:"))
this.oImages[image] = "local";
else if(false == (0 == src.indexOf("data:") || 0 == src.indexOf(documentOrigin + this.api.DocumentUrl) || 0 == src.indexOf(this.api.DocumentUrl)))
else if(false == (0 == src.indexOf(documentOrigin + this.api.DocumentUrl) || 0 == src.indexOf(this.api.DocumentUrl)))
aImagesToDownload.push(src);
}
var oPrepeareImages = {};
......
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