Commit 9ecc22bd authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 30347 - [NamedRanges][CoEdit] Ошибка в консоли при редактировании...

fix: Bug 30347 - [NamedRanges][CoEdit] Ошибка в консоли при редактировании формулы после получения нового имени диапазона, используемого в формуле (http://bugzserver/show_bug.cgi?id=30347)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64682 954022d7-b5bf-4e40-9824-e11837661b57
parent 9ba467d5
......@@ -170,18 +170,19 @@ DependencyGraph.prototype = {
}
return arr;
},
deleteNode : function(node){
if ( node.isArea ) {
var nodesSheetArea = this.nodesArea[node.sheetId];
if(nodesSheetArea)
nodesSheetArea.removeElement(new RangeDataManagerElem(node.getBBox(), node));
}
else {
var nodesSheetCell = this.nodesCell[node.sheetId];
if(nodesSheetCell)
nodesSheetCell.removeElement(new RangeDataManagerElem(node.getBBox(), node));
}
},
deleteNode:function ( node ) {
if(node.isDefinedName) return;
if ( node.isArea ) {
var nodesSheetArea = this.nodesArea[node.sheetId];
if ( nodesSheetArea )
nodesSheetArea.removeElement( new RangeDataManagerElem( node.getBBox(), node ) );
}
else {
var nodesSheetCell = this.nodesCell[node.sheetId];
if ( nodesSheetCell )
nodesSheetCell.removeElement( new RangeDataManagerElem( node.getBBox(), node ) );
}
},
deleteNodes : function(sheetId, bbox){
var bSetRefErrorOld = this.bSetRefError;
this.bSetRefError = true;
......@@ -1408,7 +1409,6 @@ Vertex.prototype = {
function DefNameVertex( scope, defName, defRef, defHidden, wb, isTable ) {
this.sheetId = scope === null || scope === undefined ? "WB" : scope;
// this.sheetId = scope || "WB";
this.cellId = defName.toLowerCase();
this.Ref = defRef;
......
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