Commit 74245e36 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: SSH create view. Focus on name input by default

parent 8f2780db
......@@ -154,6 +154,11 @@
this._init_reader();
this.unset_in_progress();
},
onOpen: function() {
views.PublicKeyCreateView.__super__.onOpen.apply(this, arguments);
this.input_name.focus();
},
init_handlers: function() {
this.cancel.click(_.bind(function() { this.hide(); }, this));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment