Fix focus in open dialog
This commit is contained in:
parent
4b8c86ee2f
commit
b02c7be9c8
|
@ -521,7 +521,9 @@ define([
|
||||||
|
|
||||||
onCmbDelimiterSelect: function(combo, record){
|
onCmbDelimiterSelect: function(combo, record){
|
||||||
this.inputDelimiter.setVisible(record.value == -1);
|
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)
|
if (this.preview)
|
||||||
this.updatePreview();
|
this.updatePreview();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue