Commit 535fa118 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

editor.advancedOptionsAction -> this.advancedOptionsAction

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63321 954022d7-b5bf-4e40-9824-e11837661b57
parent b3deda1d
...@@ -999,8 +999,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -999,8 +999,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
var nErrorLevel = c_oAscError.Level.NoCritical; var nErrorLevel = c_oAscError.Level.NoCritical;
var errorId = result["data"] >> 0; var errorId = result["data"] >> 0;
//todo передалеть работу с callback //todo передалеть работу с callback
if (c_oAscAdvancedOptionsAction.Perm === editor.advancedOptionsAction || if (c_oAscAdvancedOptionsAction.Perm === this.advancedOptionsAction ||
c_oAscAdvancedOptionsAction.Open === editor.advancedOptionsAction) c_oAscAdvancedOptionsAction.Open === this.advancedOptionsAction)
nErrorLevel = c_oAscError.Level.Critical; nErrorLevel = c_oAscError.Level.Critical;
this.handlers.trigger("asc_onError", g_fMapAscServerErrorToAscError(errorId), nErrorLevel); this.handlers.trigger("asc_onError", g_fMapAscServerErrorToAscError(errorId), nErrorLevel);
if (fCallback) fCallback({returnCode: nErrorLevel, val:errorId}); if (fCallback) fCallback({returnCode: nErrorLevel, val:errorId});
......
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