Fix focus in open dialog

This commit is contained in:
Julia Radzhabova 2022-03-16 11:58:31 +03:00
parent 4b8c86ee2f
commit b02c7be9c8

View file

@ -521,7 +521,9 @@ define([
onCmbDelimiterSelect: function(combo, record){
this.inputDelimiter.setVisible(record.value == -1);
(record.value == -1) && this.inputDelimiter.cmpEl.find('input').focus();
var me = this;
if (record.value == -1)
setTimeout(function(){me.inputDelimiter.focus();}, 10);
if (this.preview)
this.updatePreview();
},