Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
1c0ad3d2
Commit
1c0ad3d2
authored
Jun 01, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build files with worksheet rename
parent
27af9326
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cell/model/UndoRedo.js
cell/model/UndoRedo.js
+1
-1
cell/model/Workbook.js
cell/model/Workbook.js
+1
-1
No files found.
cell/model/UndoRedo.js
View file @
1c0ad3d2
...
@@ -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
);
}
}
...
...
cell/model/Workbook.js
View file @
1c0ad3d2
...
@@ -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
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment