[SSE] Fix data validation
This commit is contained in:
parent
25b1d9adff
commit
48b0079c61
|
@ -323,9 +323,9 @@ define([
|
||||||
var config = {
|
var config = {
|
||||||
maxwidth: 500,
|
maxwidth: 500,
|
||||||
title: this.txtDataValidation,
|
title: this.txtDataValidation,
|
||||||
msg: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? this.txtExtendDataValidation : this.txtRemoveDataValidation,
|
msg: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? this.txtRemoveDataValidation : this.txtExtendDataValidation,
|
||||||
buttons: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? ['yes', 'no', 'cancel'] : ['ok', 'cancel'],
|
buttons: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? ['ok', 'cancel'] : ['yes', 'no', 'cancel'],
|
||||||
primary: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? ['yes', 'no'] : 'ok',
|
primary: res===Asc.c_oAscError.ID.MoreOneTypeDataValidate ? 'ok' : ['yes', 'no'],
|
||||||
callback: function(btn){
|
callback: function(btn){
|
||||||
if (btn == 'yes' || btn == 'no' || btn == 'ok') {
|
if (btn == 'yes' || btn == 'no' || btn == 'ok') {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
|
Loading…
Reference in a new issue