Merge branch 'release/v6.3.0' of https://github.com/ONLYOFFICE/web-apps into release/v6.3.0
This commit is contained in:
commit
12cd63f48f
|
@ -146,6 +146,7 @@
|
||||||
border: none;
|
border: none;
|
||||||
//.box-shadow(0 0 0 @scaled-one-px-value-ie @background-normal-ie);
|
//.box-shadow(0 0 0 @scaled-one-px-value-ie @background-normal-ie);
|
||||||
//.box-shadow(0 0 0 @scaled-one-px-value @background-normal);
|
//.box-shadow(0 0 0 @scaled-one-px-value @background-normal);
|
||||||
|
background-color: @canvas-content-background;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
|
|
@ -1379,6 +1379,14 @@ define([
|
||||||
config.msg = this.errorStockChart;
|
config.msg = this.errorStockChart;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.MaxDataSeriesError:
|
||||||
|
config.msg = this.getApplication().getController('Toolbar').errorMaxRows;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case Asc.c_oAscError.ID.ComboSeriesError:
|
||||||
|
config.msg = this.getApplication().getController('Toolbar').errorComboSeries;
|
||||||
|
break;
|
||||||
|
|
||||||
case Asc.c_oAscError.ID.DataRangeError:
|
case Asc.c_oAscError.ID.DataRangeError:
|
||||||
config.msg = this.errorDataRange;
|
config.msg = this.errorDataRange;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1088,21 +1088,24 @@ define([
|
||||||
var ischartedit = ( seltype == Asc.c_oAscSelectionType.RangeChart || seltype == Asc.c_oAscSelectionType.RangeChartText);
|
var ischartedit = ( seltype == Asc.c_oAscSelectionType.RangeChart || seltype == Asc.c_oAscSelectionType.RangeChartText);
|
||||||
props = me.api.asc_getChartObject(true); // don't lock chart object
|
props = me.api.asc_getChartObject(true); // don't lock chart object
|
||||||
if (props) {
|
if (props) {
|
||||||
(ischartedit) ? props.changeType(type) : props.putType(type);
|
if (ischartedit)
|
||||||
|
props.changeType(type);
|
||||||
|
else {
|
||||||
|
props.putType(type);
|
||||||
var range = props.getRange(),
|
var range = props.getRange(),
|
||||||
isvalid = (!_.isEmpty(range)) ? me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.Chart, range, true, props.getInRows(), props.getType()) : Asc.c_oAscError.ID.No;
|
isvalid = (!_.isEmpty(range)) ? me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.Chart, range, true, props.getInRows(), props.getType()) : Asc.c_oAscError.ID.No;
|
||||||
if (isvalid == Asc.c_oAscError.ID.No) {
|
if (isvalid == Asc.c_oAscError.ID.No) {
|
||||||
!ischartedit && me.api.asc_addChartDrawingObject(props);
|
me.api.asc_addChartDrawingObject(props);
|
||||||
} else {
|
} else {
|
||||||
var msg = me.txtInvalidRange;
|
var msg = me.txtInvalidRange;
|
||||||
switch (isvalid) {
|
switch (isvalid) {
|
||||||
case isvalid == Asc.c_oAscError.ID.StockChartError:
|
case Asc.c_oAscError.ID.StockChartError:
|
||||||
msg = me.errorStockChart;
|
msg = me.errorStockChart;
|
||||||
break;
|
break;
|
||||||
case isvalid == Asc.c_oAscError.ID.MaxDataSeriesError:
|
case Asc.c_oAscError.ID.MaxDataSeriesError:
|
||||||
msg = me.errorMaxRows;
|
msg = me.errorMaxRows;
|
||||||
break;
|
break;
|
||||||
case isvalid == Asc.c_oAscError.ID.ComboSeriesError:
|
case Asc.c_oAscError.ID.ComboSeriesError:
|
||||||
msg = me.errorComboSeries;
|
msg = me.errorComboSeries;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1118,6 +1121,7 @@ define([
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue