Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -1012,6 +1012,9 @@ |
1013 | 1013 | } |
1014 | 1014 | }, |
1015 | 1015 | open: function() { |
| 1016 | + $j( '#edittoolbar-link-int-target, #edittoolbar-link-ext-target' ) |
| 1017 | + .filter( ':visible' ) |
| 1018 | + .focus(); |
1016 | 1019 | // Pre-fill the text fields based on the current selection |
1017 | 1020 | var selection = $j(this).data( 'context' ).$textarea.getSelection(); |
1018 | 1021 | $j( '#edittoolbar-link-dialog-tab-int' ).data( 'whitespace', [ '', '' ] ); |
— | — | @@ -1157,6 +1160,7 @@ |
1158 | 1161 | } |
1159 | 1162 | }, |
1160 | 1163 | open: function() { |
| 1164 | + $j( '#edittoolbar-table-dimensions-columns' ).focus(); |
1161 | 1165 | if ( !( $j(this).data( 'dialogkeypressset' ) ) ) { |
1162 | 1166 | $j(this).data( 'dialogkeypressset', true ); |
1163 | 1167 | // Execute the action associated with the first button |
— | — | @@ -1302,6 +1306,7 @@ |
1303 | 1307 | }, |
1304 | 1308 | open: function() { |
1305 | 1309 | $j(this).data( 'offset', 0 ); |
| 1310 | + $j( '#edittoolbar-replace-search' ).focus(); |
1306 | 1311 | $j( '#edittoolbar-replace-nomatch, #edittoolbar-replace-success' ).hide(); |
1307 | 1312 | if ( !( $j(this).data( 'dialogkeypressset' ) ) ) { |
1308 | 1313 | $j(this).data( 'dialogkeypressset', true ); |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | /* Configuration */ |
21 | 21 | |
22 | 22 | // Bump the version number every time you change any of the .css/.js files |
23 | | -$wgEditToolbarStyleVersion = 42; |
| 23 | +$wgEditToolbarStyleVersion = 43; |
24 | 24 | |
25 | 25 | // Set this to true to simply override the stock toolbar for everyone |
26 | 26 | $wgEditToolbarGlobalEnable = false; |