Index: trunk/extensions/LiquidThreads/lqt.css |
— | — | @@ -461,3 +461,4 @@ |
462 | 462 | border: 1px solid #dddddd; |
463 | 463 | background-color: #eeeeee; |
464 | 464 | } |
| 465 | + |
Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -49,9 +49,15 @@ |
50 | 50 | |
51 | 51 | liquidThreads.cancelEdit( container ); |
52 | 52 | |
| 53 | + var loadSpinner = $j('<div class="mw-ajax-loader"/>'); |
| 54 | + container.before( loadSpinner ); |
| 55 | + |
53 | 56 | $j(container).load(wgServer+wgScript, 'title='+encodeURIComponent(wgPageName)+ |
54 | 57 | query+'&lqt_inline=1', |
55 | 58 | function() { |
| 59 | + // Kill the loader. |
| 60 | + loadSpinner.remove(); |
| 61 | + |
56 | 62 | if (preload) { |
57 | 63 | $j("textarea", container)[0].value = preload; |
58 | 64 | } |
— | — | @@ -233,8 +239,8 @@ |
234 | 240 | threads.push(threadID); |
235 | 241 | } ); |
236 | 242 | |
237 | | - var getData = { 'action' : 'query', 'list' : 'threads', 'lqtid' : threads.join('|'), |
238 | | - 'format' : 'json', 'lqtprop' : 'id|subject|parent|modified' }; |
| 243 | + var getData = { 'action' : 'query', 'list' : 'threads', 'thid' : threads.join('|'), |
| 244 | + 'format' : 'json', 'thprop' : 'id|subject|parent|modified' }; |
239 | 245 | |
240 | 246 | $j.get( wgScriptPath+'/api.php', getData, |
241 | 247 | function(data) { |