Index: trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js |
— | — | @@ -54,6 +54,7 @@ |
55 | 55 | if ( title !== null ) { |
56 | 56 | this.$locationInput.val( title ); |
57 | 57 | } |
| 58 | + this.$locationInput.focus(); |
58 | 59 | }; |
59 | 60 | |
60 | 61 | es.LinkInspector.prototype.onClose = function() { |
— | — | @@ -75,6 +76,7 @@ |
76 | 77 | { 'type': 'link/internal', 'data': { 'title': title } } |
77 | 78 | ); |
78 | 79 | surfaceModel.transact( set ); |
| 80 | + surfaceView.$input.focus(); |
79 | 81 | }; |
80 | 82 | |
81 | 83 | /* Inheritance */ |