Fix Bug 55294

This commit is contained in:
Julia Radzhabova 2022-02-16 22:51:34 +03:00
parent f65ac90534
commit 566f58a09b
3 changed files with 30 additions and 33 deletions

View file

@ -1341,18 +1341,17 @@ define([
if (!value) { if (!value) {
value = this._getApiTextSize(); value = this._getApiTextSize();
setTimeout(function(){
Common.UI.warning({ Common.UI.warning({
msg: this.textFontSizeErr, msg: me.textFontSizeErr,
callback: function() { callback: function() {
_.defer(function(btn) { _.defer(function(btn) {
$('input', combo.cmpEl).focus(); $('input', combo.cmpEl).focus();
}) })
} }
}); });
}, 1);
combo.setRawValue(value); combo.setRawValue(value);
e.preventDefault(); e.preventDefault();
return false; return false;
} }

View file

@ -1324,18 +1324,17 @@ define([
if (!value) { if (!value) {
value = this._getApiTextSize(); value = this._getApiTextSize();
setTimeout(function(){
Common.UI.warning({ Common.UI.warning({
msg: this.textFontSizeErr, msg: me.textFontSizeErr,
callback: function() { callback: function() {
_.defer(function(btn) { _.defer(function(btn) {
$('input', combo.cmpEl).focus(); $('input', combo.cmpEl).focus();
}) })
} }
}); });
}, 1);
combo.setRawValue(value); combo.setRawValue(value);
e.preventDefault(); e.preventDefault();
return false; return false;
} }

View file

@ -1625,18 +1625,17 @@ define([
if (!value) { if (!value) {
value = this._getApiTextSize(); value = this._getApiTextSize();
setTimeout(function(){
Common.UI.warning({ Common.UI.warning({
msg: this.textFontSizeErr, msg: me.textFontSizeErr,
callback: function() { callback: function() {
_.defer(function(btn) { _.defer(function(btn) {
$('input', combo.cmpEl).focus(); $('input', combo.cmpEl).focus();
}) })
} }
}); });
}, 1);
combo.setRawValue(value); combo.setRawValue(value);
e.preventDefault(); e.preventDefault();
return false; return false;
} }