[SSE] Refactoring data validation

This commit is contained in:
Julia Radzhabova 2020-11-12 11:30:05 +03:00
parent 351286c8d1
commit df3825ec80

View file

@ -328,7 +328,7 @@ define([
callback: function(btn){
if (btn == 'yes' || btn == 'no' || btn == 'ok') {
setTimeout(function(){
var props = me.api.asc_getDataValidationProps(btn == 'yes');
var props = me.api.asc_getDataValidationProps((btn=='ok') ? null : (btn == 'yes'));
me.showDataValidation(props);
},1);
}