Commit 9744404b authored by Alexey.Golubev's avatar Alexey.Golubev Committed by Alexander.Trofimov

Исправлена проблема с минимизацией.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51214 954022d7-b5bf-4e40-9824-e11837661b57
parent 29bac5a3
...@@ -731,18 +731,18 @@ asc_docs_api.prototype.asc_getEditorPermissionsCallback = function(incomeObject) ...@@ -731,18 +731,18 @@ asc_docs_api.prototype.asc_getEditorPermissionsCallback = function(incomeObject)
null != oSettings['trackingInfo']) null != oSettings['trackingInfo'])
{ {
var asc_CTrackFile = window["Asc"].CTrackFile; var asc_CTrackFile = window["Asc"].CTrackFile;
this.TrackFile = new asc_CTrackFile(oSettings['trackingInfo']); editor.TrackFile = new asc_CTrackFile(oSettings['trackingInfo']);
this.TrackFile.setDocId(this.DocInfo.get_Id()); editor.TrackFile.setDocId(editor.DocInfo.get_Id());
this.TrackFile.setUserId(this.DocInfo.get_UserId()); editor.TrackFile.setUserId(editor.DocInfo.get_UserId());
this.TrackFile.setTrackFunc(sendTrack); editor.TrackFile.setTrackFunc(sendTrack);
this.TrackFile.setIsDocumentModifiedFunc(this.isDocumentModified); editor.TrackFile.setIsDocumentModifiedFunc(editor.isDocumentModified);
if(undefined != oSettings['TrackingInterval'] && if(undefined != oSettings['TrackingInterval'] &&
null != oSettings['TrackingInterval']) null != oSettings['TrackingInterval'])
this.TrackFile.setInterval(oSettings['TrackingInterval']); editor.TrackFile.setInterval(oSettings['TrackingInterval']);
this.TrackFile.Start(); editor.TrackFile.Start();
} }
} }
} }
......
...@@ -856,18 +856,18 @@ asc_docs_api.prototype.asc_getEditorPermissionsCallback = function(incomeObject) ...@@ -856,18 +856,18 @@ asc_docs_api.prototype.asc_getEditorPermissionsCallback = function(incomeObject)
null != oSettings['trackingInfo']) null != oSettings['trackingInfo'])
{ {
var asc_CTrackFile = window["Asc"].CTrackFile; var asc_CTrackFile = window["Asc"].CTrackFile;
this.TrackFile = new asc_CTrackFile(oSettings['trackingInfo']); editor.TrackFile = new asc_CTrackFile(oSettings['trackingInfo']);
this.TrackFile.setDocId(this.DocInfo.get_Id()); editor.TrackFile.setDocId(editor.DocInfo.get_Id());
this.TrackFile.setUserId(this.DocInfo.get_UserId()); editor.TrackFile.setUserId(editor.DocInfo.get_UserId());
this.TrackFile.setTrackFunc(sendTrack); editor.TrackFile.setTrackFunc(sendTrack);
this.TrackFile.setIsDocumentModifiedFunc(this.isDocumentModified); editor.TrackFile.setIsDocumentModifiedFunc(editor.isDocumentModified);
if(undefined != oSettings['TrackingInterval'] && if(undefined != oSettings['TrackingInterval'] &&
null != oSettings['TrackingInterval']) null != oSettings['TrackingInterval'])
this.TrackFile.setInterval(oSettings['TrackingInterval']); editor.TrackFile.setInterval(oSettings['TrackingInterval']);
this.TrackFile.Start(); editor.TrackFile.Start();
} }
} }
} }
......
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