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

no changes - no save

parent f0868934
......@@ -423,7 +423,8 @@ var editor;
};
spreadsheet_api.prototype.asc_Save = function(isAutoSave) {
if (!this.canSave || this.isChartEditor || c_oAscAdvancedOptionsAction.None !== this.advancedOptionsAction || this.isLongAction()) {
if (!this.canSave || this.isChartEditor || c_oAscAdvancedOptionsAction.None !== this.advancedOptionsAction ||
this.isLongAction() || !this.asc_isDocumentCanSave()) {
return;
}
......
......@@ -2043,7 +2043,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.asc_Save = function(isAutoSave)
{
this.IsUserSave = !isAutoSave;
if (true === this.canSave && !this.isLongAction())
if (true === this.canSave && !this.isLongAction() && this.asc_isDocumentCanSave())
{
this.canSave = false;
......
......@@ -2119,7 +2119,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.asc_Save = function(isAutoSave)
{
this.IsUserSave = !isAutoSave;
if (true === this.canSave && !this.isLongAction())
if (true === this.canSave && !this.isLongAction() && this.asc_isDocumentCanSave())
{
this.canSave = false;
......
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