Commit 1c0ad3d2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix build files with worksheet rename

parent 27af9326
...@@ -3532,7 +3532,7 @@ UndoRedoWoorksheet.prototype = { ...@@ -3532,7 +3532,7 @@ UndoRedoWoorksheet.prototype = {
if(null != oConflictWs) if(null != oConflictWs)
oConflictWs.renameWsToCollaborate(this.wb.getUniqueSheetNameFrom(oConflictWs.getName(), true)); oConflictWs.renameWsToCollaborate(this.wb.getUniqueSheetNameFrom(oConflictWs.getName(), true));
} }
AscCommonExcel.buildDefNameAfterRenameWorksheet(); AscCommonExcel.buildDefNameAfterRenameWorksheet(ws);
} }
ws.setName(name, true); ws.setName(name, true);
} }
......
...@@ -1878,7 +1878,7 @@ function addToArrRecalc(sheetId, cell){ ...@@ -1878,7 +1878,7 @@ function addToArrRecalc(sheetId, cell){
function addToArrDefNameRecalc(name){ function addToArrDefNameRecalc(name){
arrDefNameRecalc[name.nodeId] = name; arrDefNameRecalc[name.nodeId] = name;
} }
function buildDefNameAfterRenameWorksheet() { function buildDefNameAfterRenameWorksheet(ws) {
var dN; var dN;
for(var id in arrDefNameRecalc ){ for(var id in arrDefNameRecalc ){
dN = arrDefNameRecalc[id]; dN = arrDefNameRecalc[id];
......
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