Commit 3e014b9e 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@49336 954022d7-b5bf-4e40-9824-e11837661b57
parent 3013fcb1
...@@ -498,7 +498,7 @@ asc_CChart.prototype = { ...@@ -498,7 +498,7 @@ asc_CChart.prototype = {
if ( _t.series[j].Cat.Formula && _t.series[j].Cat.NumCache.length ) if ( _t.series[j].Cat.Formula && _t.series[j].Cat.NumCache.length )
seria.TxCache.Tx = _t.series[j].Cat.NumCache[i].val; seria.TxCache.Tx = _t.series[j].Cat.NumCache[i].val;
else else
seria.TxCache.Tx = api.chartTranslate.series + " " + (i + 1); seria.TxCache.Tx = /*api.chartTranslate.series + " " +*/ (i + 1);
} }
revSeries.push(seria); revSeries.push(seria);
} }
......
...@@ -1110,6 +1110,8 @@ ...@@ -1110,6 +1110,8 @@
var comment = this.model.aComments[i]; var comment = this.model.aComments[i];
this.cellCommentator.addCommentSerialize(comment); this.cellCommentator.addCommentSerialize(comment);
commentList.push(comment); commentList.push(comment);
// Если, например, перемещаем лист
this.model.workbook.handlers.trigger("asc_onRemoveComment", comment.asc_getId());
} }
if ( commentList.length ) if ( commentList.length )
this.model.workbook.handlers.trigger("asc_onAddComments", commentList); this.model.workbook.handlers.trigger("asc_onAddComments", commentList);
......
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