commit
898c5f8cfa
|
@ -489,7 +489,7 @@ define([
|
||||||
|
|
||||||
onBorderColor: function (palette, color) {
|
onBorderColor: function (palette, color) {
|
||||||
var me = this,
|
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)));
|
$('#edit-chart-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||||
_borderColor = color;
|
_borderColor = color;
|
||||||
|
|
|
@ -449,8 +449,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFillColor: function(palette, color) {
|
onFillColor: function(palette, color) {
|
||||||
var me = this,
|
var me = this;
|
||||||
currentShape = _shapeObject.get_ShapeProperties();
|
|
||||||
|
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
var image = new Asc.asc_CImgProperty(),
|
var image = new Asc.asc_CImgProperty(),
|
||||||
|
@ -475,7 +474,7 @@ define([
|
||||||
|
|
||||||
onBorderColor: function (palette, color) {
|
onBorderColor: function (palette, color) {
|
||||||
var me = this,
|
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)));
|
$('#edit-shape-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||||
_borderColor = color;
|
_borderColor = color;
|
||||||
|
|
|
@ -626,7 +626,7 @@ define([
|
||||||
|
|
||||||
onBorderColor: function (palette, color) {
|
onBorderColor: function (palette, color) {
|
||||||
var me = this,
|
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)));
|
$('#edit-chart-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||||
_borderInfo.color = color;
|
_borderInfo.color = color;
|
||||||
|
|
|
@ -301,8 +301,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onFillColor: function(palette, color) {
|
onFillColor: function(palette, color) {
|
||||||
var me = this,
|
var me = this;
|
||||||
currentShape = _shapeObject.get_ShapeProperties();
|
|
||||||
|
|
||||||
if (me.api) {
|
if (me.api) {
|
||||||
var image = new Asc.asc_CImgProperty(),
|
var image = new Asc.asc_CImgProperty(),
|
||||||
|
@ -327,7 +326,7 @@ define([
|
||||||
|
|
||||||
onBorderColor: function (palette, color) {
|
onBorderColor: function (palette, color) {
|
||||||
var me = this,
|
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)));
|
$('#edit-shape-bordercolor .color-preview').css('background-color', ('transparent' == color) ? color : ('#' + (_.isObject(color) ? color.color : color)));
|
||||||
_borderInfo.color = color;
|
_borderInfo.color = color;
|
||||||
|
|
Loading…
Reference in a new issue