[Embedded] Add c_oAscError.ID.UserDrop error

This commit is contained in:
Julia Radzhabova 2019-03-29 12:21:43 +03:00
parent 23e279d26f
commit c7e5a730da
3 changed files with 18 additions and 3 deletions

View file

@ -394,6 +394,10 @@ var ApplicationController = new(function(){
message = me.errorFilePassProtect;
break;
case Asc.c_oAscError.ID.UserDrop:
message = me.errorUserDrop;
break;
default:
message = me.errorDefaultMessage.replace('%1', id);
break;
@ -544,6 +548,7 @@ var ApplicationController = new(function(){
notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.',
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.'
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.',
errorUserDrop: 'The file cannot be accessed right now.'
}
})();

View file

@ -494,6 +494,10 @@ var ApplicationController = new(function(){
message = me.errorFilePassProtect;
break;
case Asc.c_oAscError.ID.UserDrop:
message = me.errorUserDrop;
break;
default:
message = me.errorDefaultMessage.replace('%1', id);
break;
@ -615,6 +619,7 @@ var ApplicationController = new(function(){
notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.',
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.'
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.',
errorUserDrop: 'The file cannot be accessed right now.'
}
})();

View file

@ -402,6 +402,10 @@ var ApplicationController = new(function(){
message = me.errorFilePassProtect;
break;
case Asc.c_oAscError.ID.UserDrop:
message = me.errorUserDrop;
break;
default:
message = me.errorDefaultMessage.replace('%1', id);
break;
@ -562,6 +566,7 @@ var ApplicationController = new(function(){
notcriticalErrorTitle : 'Warning',
scriptLoadError: 'The connection is too slow, some of the components could not be loaded. Please reload the page.',
errorFilePassProtect: 'The file is password protected and cannot be opened.',
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.'
errorAccessDeny: 'You are trying to perform an action you do not have rights for.<br>Please contact your Document Server administrator.',
errorUserDrop: 'The file cannot be accessed right now.'
}
})();