Commit 5a16b885 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50053 954022d7-b5bf-4e40-9824-e11837661b57
parent a2bab554
......@@ -4112,7 +4112,7 @@ Cell.prototype.setValue=function(val,callback){
sortDependency(this.ws, ar);
}
else if( this.ws.workbook.isNeedCacheClean == false ){
if( ws.workbook.dependencyFormulas.getNode(this.ws.getId(),this.getName()) ){
if( ws.workbook.dependencyFormulas.nodeExist2(this.ws.getId(),this.getName()) ){
if( !arrRecalc[this.ws.getId()] ){
arrRecalc[this.ws.getId()] = {};
}
......@@ -8108,9 +8108,9 @@ Range.prototype._sortByArray=function(oBBox, aSortData, bUndo){
arrRecalc[this.worksheet.getId()] = {};
}
arrRecalc[this.worksheet.getId()][sNewName] = sNewName;
this.worksheet.workbook.needRecalc[ getVertexId(this.worksheet.getId(),sNewName) ] = [ this.worksheet.getId(),sNewName ];
/*this.worksheet.workbook.needRecalc[ getVertexId(this.worksheet.getId(),sNewName) ] = [ this.worksheet.getId(),sNewName ];
if( this.worksheet.workbook.needRecalc.length < 0) this.worksheet.workbook.needRecalc.length = 0;
this.worksheet.workbook.needRecalc.length++;
this.worksheet.workbook.needRecalc.length++;*/
}
else{
......@@ -8128,9 +8128,9 @@ Range.prototype._sortByArray=function(oBBox, aSortData, bUndo){
arrRecalc[this.worksheet.getId()] = {};
}
arrRecalc[this.worksheet.getId()][sNewName] = sNewName;
this.worksheet.workbook.needRecalc[ getVertexId(this.worksheet.getId(),sNewName) ] = [ this.worksheet.getId(),sNewName ];
/*this.worksheet.workbook.needRecalc[ getVertexId(this.worksheet.getId(),sNewName) ] = [ this.worksheet.getId(),sNewName ];
if( this.worksheet.workbook.needRecalc.length < 0) this.worksheet.workbook.needRecalc.length = 0;
this.worksheet.workbook.needRecalc.length++;
this.worksheet.workbook.needRecalc.length++;*/
// sortDependency(this.worksheet, {sNewName:sNewName});
}
}
......
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