Commit 6c2e4c2b authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67498 954022d7-b5bf-4e40-9824-e11837661b57
parent ec1f0d34
......@@ -214,11 +214,9 @@ window["DesktopOfflineAppDocumentEndSave"] = function(isCancel)
if (isCancel !== true)
DesktopOfflineUpdateLocalName(window["Asc"]["editor"]);
else
{
History.UserSavedIndex = window["Asc"]["editor"].LastUserSavedIndex;
window["Asc"]["editor"].onUpdateDocumentModified(History.Is_Modified());
}
window["Asc"]["editor"].onUpdateDocumentModified(History.Is_Modified());
window["Asc"]["editor"].LastUserSavedIndex = undefined;
};
......
......@@ -156,11 +156,9 @@ window["DesktopOfflineAppDocumentEndSave"] = function(isCancel)
if (isCancel !== true)
DesktopOfflineUpdateLocalName(editor);
else
{
History.UserSavedIndex = editor.LastUserSavedIndex;
editor.UpdateInterfaceState();
}
editor.UpdateInterfaceState();
editor.LastUserSavedIndex = undefined;
};
asc_docs_api.prototype.asc_DownloadAs = function(typeFile, bIsDownloadEvent)
......
......@@ -180,11 +180,9 @@ window["DesktopOfflineAppDocumentEndSave"] = function(isCancel)
if (isCancel !== true)
DesktopOfflineUpdateLocalName(editor);
else
{
History.UserSavedIndex = editor.LastUserSavedIndex;
editor.UpdateInterfaceState();
}
editor.UpdateInterfaceState();
editor.LastUserSavedIndex = undefined;
};
asc_docs_api.prototype.asc_DownloadAs = function(typeFile, bIsDownloadEvent)
......
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