Initial focus in dialogs
[fnpeditor.git] / modules / documentHistory / restoreDialog.js
index 543a546..0110240 100644 (file)
@@ -20,7 +20,7 @@ define([
             this.setElement(this.template());\r
             this.$el.modal({backdrop: 'static'});\r
             this.$el.modal('show');\r
-\r
+            this.$('textarea').focus();\r
         },\r
         onSave: function(e) {\r
             e.preventDefault();\r