Commit ce044466 authored by Alexander.Trofimov's avatar Alexander.Trofimov

in native version use _onServerOpen

parent a0b97728
......@@ -7435,11 +7435,7 @@ window["native"]["offline_apply_event"] = function(type,params) {
case 10000: // ASC_SOCKET_EVENT_TYPE_OPEN
{
var t = _api.CoAuthoringApi._CoAuthoringApi;
t._state = AscCommon.ConnectionState.WaitAuth;
t.onFirstConnect();
_api.CoAuthoringApi._CoAuthoringApi._onServerOpen();
break;
}
......
......@@ -2220,11 +2220,7 @@ Asc['asc_docs_api'].prototype["Call_Menu_Event"] = function(type, _params)
case 10000: // ASC_SOCKET_EVENT_TYPE_OPEN
{
var t = _api.CoAuthoringApi._CoAuthoringApi;
t._state = AscCommon.ConnectionState.WaitAuth;
t.onFirstConnect();
_api.CoAuthoringApi._CoAuthoringApi._onServerOpen();
break;
}
......
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