bug fix
This commit is contained in:
@@ -50,6 +50,12 @@ function CIdCounter() {
|
||||
this.Set_Load = function (bValue) {
|
||||
this.m_bLoad = bValue;
|
||||
};
|
||||
this.Clear = function () {
|
||||
this.m_sUserId = null;
|
||||
this.m_bLoad = true;
|
||||
this.m_nIdCounterLoad = 0;
|
||||
this.m_nIdCounterEdit = 0;
|
||||
};
|
||||
}
|
||||
var g_oIdCounter = new CIdCounter();
|
||||
function CTableId() {
|
||||
@@ -578,6 +584,11 @@ function CTableId() {
|
||||
return true;
|
||||
};
|
||||
this.Unlock = function (Data) {};
|
||||
this.Clear = function () {
|
||||
this.m_aPairs = {};
|
||||
this.m_bTurnOff = false;
|
||||
this.Add(this, g_oIdCounter.Get_NewId());
|
||||
};
|
||||
}
|
||||
var g_oTableId = null;
|
||||
function CCollaborativeChanges() {
|
||||
|
||||
@@ -2162,8 +2162,7 @@ CPresentation.prototype = {
|
||||
editor.sync_CanUndoCallback(this.History.Can_Undo());
|
||||
editor.sync_CanRedoCallback(this.History.Can_Redo());
|
||||
if (true === History.Have_Changes()) {
|
||||
editor.isDocumentModify = true;
|
||||
editor.asc_fireCallback("asc_onDocumentModifiedChanged");
|
||||
editor.SetDocumentModified(true);
|
||||
editor._onUpdateDocumentCanSave();
|
||||
} else {
|
||||
editor.SetUnchangedDocument();
|
||||
|
||||
Reference in New Issue
Block a user