X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/189a6efb18ccc8275be3c2ff7ce40f0330465142..8cb259de1463a7cab1464f888e0704cf809ab8ea:/src/editor/views/dialog/dialog.js diff --git a/src/editor/views/dialog/dialog.js b/src/editor/views/dialog/dialog.js index 0579464..04d8f74 100644 --- a/src/editor/views/dialog/dialog.js +++ b/src/editor/views/dialog/dialog.js @@ -48,7 +48,7 @@ define(function(require) { this.$el.modal({backdrop: 'static'}); this.$el.modal('show'); - this.$('textarea').focus(); + this.$('textarea, input').first().focus(); }, onExecute: function(e) { e.preventDefault();