Index: trunk/extensions/VisualEditor/modules/es/inspectors/es.LinkInspector.js |
— | — | @@ -56,7 +56,10 @@ |
57 | 57 | } else { |
58 | 58 | this.$locationInput.val( '' ); |
59 | 59 | } |
60 | | - this.$locationInput.focus(); |
| 60 | + var _this = this; |
| 61 | + setTimeout( function() { |
| 62 | + _this.$locationInput.focus().select(); |
| 63 | + }, 0 ); |
61 | 64 | }; |
62 | 65 | |
63 | 66 | es.LinkInspector.prototype.onClose = function() { |