Commit 6f7106a4 authored by Sergey.Konovalov's avatar Sergey.Konovalov

Bug 22055 - [Copy&Paste] Не происходит вставка картинки с http в редактор

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51609 954022d7-b5bf-4e40-9824-e11837661b57
parent 979e9b6d
......@@ -3307,7 +3307,7 @@ PasteProcessor.prototype =
aImagesToDownload.push(i);
if(aImagesToDownload.length > 0)
{
var rData = {"id":documentId, "c":"imgurls", "data": JSON.stringify(aImagesToDownload)};
var rData = {"id":documentId, "c":"imgurls", "vkey": documentVKey, "data": JSON.stringify(aImagesToDownload)};
sendCommand( this.api, function(incomeObject){
if(incomeObject && "imgurls" == incomeObject.type)
{
......@@ -3534,7 +3534,7 @@ PasteProcessor.prototype =
aImagesToDownload.push(i);
if(aImagesToDownload.length > 0)
{
var rData = {"id":documentId, "c":"imgurls", "data": JSON.stringify(aImagesToDownload)};
var rData = {"id":documentId, "c":"imgurls", "vkey": documentVKey, "data": JSON.stringify(aImagesToDownload)};
sendCommand( this.api, function(incomeObject){
if(incomeObject && "imgurls" == incomeObject.type)
{
......@@ -3761,7 +3761,7 @@ PasteProcessor.prototype =
aImagesToDownload.push(i);
if(aImagesToDownload.length > 0)
{
var rData = {"id":documentId, "c":"imgurls", "data": JSON.stringify(aImagesToDownload)};
var rData = {"id":documentId, "c":"imgurls", "vkey": documentVKey, "data": JSON.stringify(aImagesToDownload)};
sendCommand( this.api, function(incomeObject){
if(incomeObject && "imgurls" == incomeObject.type)
{
......@@ -3860,7 +3860,7 @@ PasteProcessor.prototype =
var oPrepeareImages = new Object();
if(aImagesToDownload.length > 0)
{
var rData = {"id":documentId, "c":"imgurls", "data": JSON.stringify(aImagesToDownload)};
var rData = {"id":documentId, "c":"imgurls", "vkey": documentVKey, "data": JSON.stringify(aImagesToDownload)};
sendCommand( this.api, function(incomeObject){
if(incomeObject && "imgurls" == incomeObject.type)
{
......@@ -4126,7 +4126,7 @@ PasteProcessor.prototype =
var oPrepeareImages = new Object();
if(aImagesToDownload.length > 0)
{
var rData = {"id":documentId, "c":"imgurls", "data": JSON.stringify(aImagesToDownload)};
var rData = {"id":documentId, "c":"imgurls", "vkey": documentVKey, "data": JSON.stringify(aImagesToDownload)};
sendCommand( this.api, function(incomeObject){
if(incomeObject && "imgurls" == incomeObject.type)
{
......
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