Commit 266c3e5c authored by Ilya.Kirillov's avatar Ilya.Kirillov

Сделано, чтобы при принятии/отклонении изменений по селекту мы переходили к следующему изменению.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65102 954022d7-b5bf-4e40-9824-e11837661b57
parent a8e26bc0
......@@ -7193,14 +7193,11 @@ asc_docs_api.prototype.asc_AcceptChanges = function(Change)
{
var CurrentChange = this.WordControl.m_oLogicDocument.Get_TrackRevisionsManager().Get_CurrentChange();
if (null !== CurrentChange)
{
this.WordControl.m_oLogicDocument.Accept_RevisionChange(CurrentChange);
this.asc_GetNextRevisionsChange();
}
else
{
this.WordControl.m_oLogicDocument.Accept_RevisionChanges(undefined, false);
}
this.asc_GetNextRevisionsChange();
}
};
asc_docs_api.prototype.asc_RejectChanges = function(Change)
......@@ -7215,14 +7212,11 @@ asc_docs_api.prototype.asc_RejectChanges = function(Change)
{
var CurrentChange = this.WordControl.m_oLogicDocument.Get_TrackRevisionsManager().Get_CurrentChange();
if (null !== CurrentChange)
{
this.WordControl.m_oLogicDocument.Reject_RevisionChange(CurrentChange);
this.asc_GetNextRevisionsChange();
}
else
{
this.WordControl.m_oLogicDocument.Reject_RevisionChanges(undefined, false);
}
this.asc_GetNextRevisionsChange();
}
};
asc_docs_api.prototype.asc_HaveRevisionsChanges = function()
......
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