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

fix build files with worksheet rename

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