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) {
value = this._getApiTextSize();
setTimeout(function(){
Common.UI.warning({
msg: this.textFontSizeErr,
msg: me.textFontSizeErr,
callback: function() {
_.defer(function(btn) {
$('input', combo.cmpEl).focus();
})
}
});
}, 1);
combo.setRawValue(value);
e.preventDefault();
return false;
}

View file

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

View file

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