Fix Bug 50044
This commit is contained in:
parent
2a75e05bfa
commit
dce1a7a54c
|
@ -489,7 +489,7 @@ define([
|
|||
|
||||
onBorderColor: function (palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
currentShape = _shapeObject ? _shapeObject.get_ShapeProperties() : null;
|
||||
|
||||
$('#edit-chart-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||
_borderColor = color;
|
||||
|
|
|
@ -449,8 +449,7 @@ define([
|
|||
},
|
||||
|
||||
onFillColor: function(palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
var me = this;
|
||||
|
||||
if (me.api) {
|
||||
var image = new Asc.asc_CImgProperty(),
|
||||
|
@ -475,7 +474,7 @@ define([
|
|||
|
||||
onBorderColor: function (palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
currentShape = _shapeObject ? _shapeObject.get_ShapeProperties() : null;
|
||||
|
||||
$('#edit-shape-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||
_borderColor = color;
|
||||
|
|
|
@ -626,7 +626,7 @@ define([
|
|||
|
||||
onBorderColor: function (palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
currentShape = _shapeObject ? _shapeObject.get_ShapeProperties() : null;
|
||||
|
||||
$('#edit-chart-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||
_borderInfo.color = color;
|
||||
|
|
|
@ -301,8 +301,7 @@ define([
|
|||
},
|
||||
|
||||
onFillColor: function(palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
var me = this;
|
||||
|
||||
if (me.api) {
|
||||
var image = new Asc.asc_CImgProperty(),
|
||||
|
@ -327,7 +326,7 @@ define([
|
|||
|
||||
onBorderColor: function (palette, color) {
|
||||
var me = this,
|
||||
currentShape = _shapeObject.get_ShapeProperties();
|
||||
currentShape = _shapeObject ? _shapeObject.get_ShapeProperties() : null;
|
||||
|
||||
$('#edit-shape-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||
_borderInfo.color = color;
|
||||
|
|
Loading…
Reference in a new issue