Commit 6b855b32 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48392 954022d7-b5bf-4e40-9824-e11837661b57
parent 1fc7f5b7
...@@ -1357,7 +1357,8 @@ function Workbook(sUrlPath, eventsHandlers, oApi){ ...@@ -1357,7 +1357,8 @@ function Workbook(sUrlPath, eventsHandlers, oApi){
this.dependencyFormulas = new DependencyGraph(this); this.dependencyFormulas = new DependencyGraph(this);
this.nActive = 0; this.nActive = 0;
// Global counters // Histoey & global counters
History = new CHistory(this);
g_oIdCounter = new CIdCounter(); g_oIdCounter = new CIdCounter();
g_oTableId = new CTableId(); g_oTableId = new CTableId();
...@@ -1384,7 +1385,6 @@ function Workbook(sUrlPath, eventsHandlers, oApi){ ...@@ -1384,7 +1385,6 @@ function Workbook(sUrlPath, eventsHandlers, oApi){
drawingPointer.initGlobalDrawingPointer(); drawingPointer.initGlobalDrawingPointer();
}; };
Workbook.prototype.initGlobalObjects=function(){ Workbook.prototype.initGlobalObjects=function(){
History = new CHistory(this);
g_oUndoRedoCell = new UndoRedoCell(this); g_oUndoRedoCell = new UndoRedoCell(this);
g_oUndoRedoWorksheet = new UndoRedoWoorksheet(this); g_oUndoRedoWorksheet = new UndoRedoWoorksheet(this);
g_oUndoRedoWorkbook = new UndoRedoWorkbook(this); g_oUndoRedoWorkbook = new UndoRedoWorkbook(this);
......
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