Commit 89980bf1 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

запрещен отрицательный LongActionCurrent

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62286 954022d7-b5bf-4e40-9824-e11837661b57
parent 296b26a9
......@@ -1686,6 +1686,8 @@ asc_docs_api.prototype.sync_EndAction = function(type, id){
if (c_oAscAsyncActionType.BlockInteraction == type)
{
this.IsLongActionCurrent--;
if (this.IsLongActionCurrent < 0)
this.IsLongActionCurrent = 0;
if (!this.asc_IsLongAction())
{
......
......@@ -2626,6 +2626,8 @@ asc_docs_api.prototype.sync_EndAction = function(type, id){
if (c_oAscAsyncActionType.BlockInteraction == type)
{
this.IsLongActionCurrent--;
if (this.IsLongActionCurrent < 0)
this.IsLongActionCurrent = 0;
if (!this.asc_IsLongAction())
{
......
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