Disable editing on Asc.c_oAscError.ID.DataEncrypted error
This commit is contained in:
parent
57c41e40e6
commit
cc7b233a6a
|
@ -1417,6 +1417,10 @@ define([
|
|||
Common.NotificationCenter.trigger('goback');
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
}
|
||||
else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
|
|
@ -897,6 +897,10 @@ define([
|
|||
Common.NotificationCenter.trigger('goback');
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
}
|
||||
else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
|
|
@ -1161,6 +1161,10 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
}
|
||||
else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
|
|
@ -848,6 +848,10 @@ define([
|
|||
Common.NotificationCenter.trigger('goback');
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
} else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
||||
|
|
|
@ -1325,6 +1325,10 @@ define([
|
|||
}
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
} else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
||||
|
|
|
@ -992,6 +992,10 @@ define([
|
|||
Common.NotificationCenter.trigger('goback');
|
||||
}
|
||||
}
|
||||
if (id == Asc.c_oAscError.ID.DataEncrypted) {
|
||||
this.api.asc_coAuthoringDisconnect();
|
||||
Common.NotificationCenter.trigger('api:disconnect');
|
||||
}
|
||||
}
|
||||
else {
|
||||
Common.Gateway.reportWarning(id, config.msg);
|
||||
|
|
Loading…
Reference in a new issue