X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/189a6efb18ccc8275be3c2ff7ce40f0330465142..78f57106d86fd31156033dce3d4fa9d8df5361fa:/src/editor/views/dialog/dialog.js?ds=sidebyside 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();