mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 10:27:48 +08:00
Merge branch 'develop' into feature/sparklines
This commit is contained in:
@ -119,8 +119,8 @@ define([
|
||||
}
|
||||
|
||||
me.inputRange.validation = function(value) {
|
||||
if (me.options.validation) {
|
||||
return me.options.validation.call(me, value);
|
||||
if (settings.validation) {
|
||||
return settings.validation.call(me, value);
|
||||
} else {
|
||||
var isvalid = me.api.asc_checkDataRange(Asc.c_oAscSelectionDialogType.Chart, value, false);
|
||||
return (isvalid==Asc.c_oAscError.ID.DataRangeError) ? me.txtInvalidRange : true;
|
||||
|
||||
@ -960,14 +960,14 @@ define([
|
||||
};
|
||||
|
||||
var win = new SSE.Views.CellRangeDialog({
|
||||
handler: handlerDlg,
|
||||
validation: validation
|
||||
handler: handlerDlg
|
||||
});
|
||||
|
||||
win.show();
|
||||
win.setSettings({
|
||||
api : me.api,
|
||||
range : props.getRange()
|
||||
range : props.getRange(),
|
||||
validation: validation
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user