Commit 2345feb9 authored by Alexander.Trofimov's avatar Alexander.Trofimov

Поправил Local save

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66497 954022d7-b5bf-4e40-9824-e11837661b57
parent f0aa364c
......@@ -108,6 +108,7 @@ window["DesktopOfflineAppDocumentApplyChanges"] = function(_changes)
/////////////////////////////////////////////////////////
window["Asc"]['spreadsheet_api'].prototype.asc_Save = function (isNoUserSave)
{
var t = this;
if (true !== isNoUserSave)
this.IsUserSave = true;
......@@ -115,7 +116,7 @@ window["Asc"]['spreadsheet_api'].prototype.asc_Save = function (isNoUserSave)
{
var _isNaturalSave = this.IsUserSave;
this.canSave = false;
this.CoAuthoringApi.askSaveChanges(window["Asc"]["editor"].onSaveCallback);
this.CoAuthoringApi.askSaveChanges(function(e){t.onSaveCallback(e);});
if (this.CoAuthoringApi.onUnSaveLock)
this.CoAuthoringApi.onUnSaveLock();
......
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