Commit b5c93b86 authored by Dmitry.Vikulov's avatar Dmitry.Vikulov Committed by Alexander.Trofimov

При копировании листа не копировались комментарии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50308 954022d7-b5bf-4e40-9824-e11837661b57
parent 3e501ad4
......@@ -3352,6 +3352,7 @@ function DrawingObjects() {
function updateHeaders() {
worksheet._drawColumnHeaders();
worksheet._drawRowHeaders();
worksheet._drawCorner();
// cols header on overlay
overlayCtx.clearRect( 0, 0, overlayCtx.getWidth(), worksheet.getCellTop(0, 1) );
......@@ -4914,7 +4915,7 @@ function CoordsManager(ws, bLog) {
var cell = { col: 0, colOff: 0, colOffPx: 0,
row: 0, rowOff: 0, rowOffPx: 0 };
var _x = x + worksheet.getCellLeft(0, 0);
var _y = y + worksheet.getCellTop(0, 0);
......
......@@ -1940,6 +1940,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
var t = this;
var copyWorksheet = function (res) {
if (res) {
t.wb._initCommentsToSave();
t.wbModel.copyWorksheet(i, where, newName);
t.wb.copyWorksheet(i, where);
// Делаем активным скопированный
......
......@@ -8,6 +8,8 @@
// CommentCoords
//-----------------------------------------------------------------------------------
//{ ASC Classes
function asc_CCommentCoords(obj) {
var _this = this;
......@@ -443,6 +445,8 @@ prot["asc_getReply"] = prot.asc_getReply;
prot["asc_addReply"] = prot.asc_addReply;
//}
//-----------------------------------------------------------------------------------
// CompositeCommentData
//-----------------------------------------------------------------------------------
......
......@@ -1842,7 +1842,7 @@
this._drawSelection();
}
this._drawGraphic();
this.objectRender.showDrawingObjectsEx(true);
this.objectRender.showDrawingObjects(true);
return this;
},
......
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