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

fix: Bug 30579 - [NamedRanges][CoEdit]Warning и отсутствие возможности...

fix: Bug 30579 - [NamedRanges][CoEdit]Warning и отсутствие возможности создания именованного диапазона одним пользователем после редактирования книги другим 

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65298 954022d7-b5bf-4e40-9824-e11837661b57
parent eea17625
...@@ -1060,14 +1060,16 @@ DependencyGraph.prototype = { ...@@ -1060,14 +1060,16 @@ DependencyGraph.prototype = {
} }
}, },
checkDefNameLock:function(){ checkDefNameLock:function(){
var nodesList = this.defNameList; var nodesList = this.defNameList, countNodes = 0;
for ( var id in nodesList ) { for ( var id in nodesList ) {
countNodes++;
if ( nodesList[id].isLock ) { if ( nodesList[id].isLock ) {
return true; return true;
} }
} }
return false; return !countNodes;
// return false;
}, },
getNextTableName:function ( ws, Ref ) { getNextTableName:function ( ws, Ref ) {
......
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