[SSE] Refactoring data validation
This commit is contained in:
parent
351286c8d1
commit
df3825ec80
|
@ -328,7 +328,7 @@ define([
|
||||||
callback: function(btn){
|
callback: function(btn){
|
||||||
if (btn == 'yes' || btn == 'no' || btn == 'ok') {
|
if (btn == 'yes' || btn == 'no' || btn == 'ok') {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
var props = me.api.asc_getDataValidationProps(btn == 'yes');
|
var props = me.api.asc_getDataValidationProps((btn=='ok') ? null : (btn == 'yes'));
|
||||||
me.showDataValidation(props);
|
me.showDataValidation(props);
|
||||||
},1);
|
},1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue