Commit d07f4209 authored by konovalovsergey's avatar konovalovsergey

minification problem

parent d2b96586
......@@ -636,7 +636,7 @@
extendSession = false;
}
if (!extendSession) {
if (History.Have_Changes()) {
if (AscCommon.History.Have_Changes()) {
//enter view mode because save async
t.sendEvent('asc_onCoAuthoringDisconnect');
t.asc_setViewMode(true);
......@@ -646,7 +646,7 @@
t.CoAuthoringApi.disconnect(code, reason);
};
if (t.collaborativeEditing.applyChanges) {
if (t.collaborativeEditing && t.collaborativeEditing.applyChanges) {
t.collaborativeEditing.applyChanges();
t.collaborativeEditing.sendChanges();
} else {
......
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