Commit 587eca5c authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub

Merge pull request #152 from ONLYOFFICE/hotfix/v4.4.3

Hotfix/v4.4.3
parents 7761b5d4 d6d1322e
...@@ -1626,11 +1626,21 @@ CDLbl.prototype = ...@@ -1626,11 +1626,21 @@ CDLbl.prototype =
Get_Theme: function() Get_Theme: function()
{ {
return this.chart.Get_Theme(); if(this.chart){
return this.chart.Get_Theme();
}
return null;
}, },
Get_ColorMap: function() Get_ColorMap: function()
{ {
return this.chart.Get_ColorMap(); if(this.chart){
return this.chart.Get_ColorMap();
}
else {
return AscFormat.G_O_DEFAULT_COLOR_MAP;
}
}, },
Get_AbsolutePage: function() Get_AbsolutePage: function()
......
...@@ -838,6 +838,9 @@ ...@@ -838,6 +838,9 @@
}; };
baseEditorsApi.prototype.asc_onOpenChartFrame = function() baseEditorsApi.prototype.asc_onOpenChartFrame = function()
{ {
if(this.isMobileVersion){
return;
}
this.isOpenedChartFrame = true; this.isOpenedChartFrame = true;
}; };
baseEditorsApi.prototype.asc_onCloseChartFrame = function() baseEditorsApi.prototype.asc_onCloseChartFrame = function()
......
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