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

Minor

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48982 954022d7-b5bf-4e40-9824-e11837661b57
parent 128d9784
...@@ -1211,7 +1211,7 @@ function asc_CChartLegend(object) { ...@@ -1211,7 +1211,7 @@ function asc_CChartLegend(object) {
asc_CChartLegend.prototype = { asc_CChartLegend.prototype = {
isEqual: function(object) { isEqual: function(object) {
return ( (this.position == object.position) && (this.bShow = object.bShow) && (this.bOverlay == object.bOverlay) ); return ( (this.position == object.position) && (this.bShow == object.bShow) && (this.bOverlay == object.bOverlay) );
}, },
asc_getPosition: function() { return this.position; }, asc_getPosition: function() { return this.position; },
......
...@@ -461,7 +461,7 @@ CChartAsGroup.prototype = ...@@ -461,7 +461,7 @@ CChartAsGroup.prototype =
if ( !this.chart.legend.isEqual(chart.legend) ) { if ( !this.chart.legend.isEqual(chart.legend) ) {
History.Add(g_oUndoRedoGraphicObjects, historyitem_Chart_ChangeLegend, null, null, new UndoRedoDataGraphicObjects(this.chart.Get_Id(), new UndoRedoDataGOSingleProp(this.chart.legend, chart.legend))); History.Add(g_oUndoRedoGraphicObjects, historyitem_Chart_ChangeLegend, null, null, new UndoRedoDataGraphicObjects(this.chart.Get_Id(), new UndoRedoDataGOSingleProp(this.chart.legend, chart.legend)));
this.chart.legend = new asc_CChartAxisY(chart.legend); this.chart.legend = new asc_CChartLegend(chart.legend);
} }
} }
else else
......
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