Disconnect on ConvertationOpenLimitError

This commit is contained in:
Julia Radzhabova 2021-09-14 23:17:43 +03:00
parent bdd326ea12
commit 0a2d74e72e
3 changed files with 3 additions and 3 deletions

View file

@ -1855,7 +1855,7 @@ define([
Common.NotificationCenter.trigger('goback', true);
}
}
if (id == Asc.c_oAscError.ID.DataEncrypted) {
if (id == Asc.c_oAscError.ID.DataEncrypted || id == Asc.c_oAscError.ID.ConvertationOpenLimitError) {
this.api.asc_coAuthoringDisconnect();
Common.NotificationCenter.trigger('api:disconnect');
}

View file

@ -1508,7 +1508,7 @@ define([
}
}
}
if (id == Asc.c_oAscError.ID.DataEncrypted) {
if (id == Asc.c_oAscError.ID.DataEncrypted || id == Asc.c_oAscError.ID.ConvertationOpenLimitError) {
this.api.asc_coAuthoringDisconnect();
Common.NotificationCenter.trigger('api:disconnect');
}

View file

@ -1885,7 +1885,7 @@ define([
}
}
}
if (id == Asc.c_oAscError.ID.DataEncrypted) {
if (id == Asc.c_oAscError.ID.DataEncrypted || id == Asc.c_oAscError.ID.ConvertationOpenLimitError) {
this.api.asc_coAuthoringDisconnect();
Common.NotificationCenter.trigger('api:disconnect');
}