[DE] Fix 38604

This commit is contained in:
Julia Radzhabova 2018-08-28 17:52:21 +03:00
parent e33946f4bd
commit 5667132024
2 changed files with 2 additions and 2 deletions

View file

@ -897,7 +897,7 @@ define([
if (show){
var clr = this.api.asc_GetGlobalContentControlHighlightColor();
if (clr) {
clr = Common.Utils.ThemeColor.getHexColor(clr.r, clr.g, clr.b);
clr = Common.Utils.ThemeColor.getHexColor(clr.get_r(), clr.get_g(), clr.get_b());
this.toolbar.mnuControlsColorPicker.selectByRGB(clr, true);
}
}

View file

@ -247,7 +247,7 @@ define([
(val!==null && val!==undefined) && this.cmbShow.setValue(val);
val = props.get_Color();
val = (val) ? Common.Utils.ThemeColor.getHexColor(val.r, val.g, val.b) : '#000000';
val = (val) ? Common.Utils.ThemeColor.getHexColor(val.get_r(), val.get_g(), val.get_b()) : '#000000';
this.btnColor.setColor(val);
this.colors.selectByRGB(val,true);