Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -88,6 +88,14 @@ |
89 | 89 | // Add toolbar |
90 | 90 | mwSetupToolbar(); |
91 | 91 | |
| 92 | + currentFocused = $j(container).find('#wpTextbox1'); |
| 93 | + $j(container).find('#wpTextbox1,#wpSummary').focus( |
| 94 | + function() { |
| 95 | + currentFocused = this; |
| 96 | + } ); |
| 97 | + |
| 98 | + document.editform = $j(container).find('#editform'); |
| 99 | + |
92 | 100 | // Check for live preview |
93 | 101 | if ( $j('#wpLivePreview').length ) { |
94 | 102 | $j.getScript( stylepath+'/common/preview.js', |