Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -392,6 +392,8 @@ |
393 | 393 | |
394 | 394 | 'handleChangeSubject' : function(e) { |
395 | 395 | e.preventDefault(); |
| 396 | + |
| 397 | + $j(this).closest('.lqt-command-edit-subject').hide(); |
396 | 398 | |
397 | 399 | // Grab the h2 |
398 | 400 | var threadId = $j(this).data('thread-id'); |
— | — | @@ -414,6 +416,7 @@ |
415 | 417 | var form = $j(this).closest('.mw-subject-editor'); |
416 | 418 | var header = form.closest('.lqt_header'); |
417 | 419 | header.contents().filter('.mw-headline').show(); |
| 420 | + header.next().find('.lqt-command-edit-subject').show(); |
418 | 421 | form.remove(); |
419 | 422 | |
420 | 423 | } ); |
— | — | @@ -476,6 +479,7 @@ |
477 | 480 | subjectForm.remove(); |
478 | 481 | spinner.remove(); |
479 | 482 | header.contents().filter('.mw-headline').show(); |
| 483 | + header.next().find('.lqt-command-edit-subject').show(); |
480 | 484 | } |
481 | 485 | } |
482 | 486 | |
— | — | @@ -491,6 +495,8 @@ |
492 | 496 | |
493 | 497 | if ( result == 'success' ) { |
494 | 498 | spinner.remove(); |
| 499 | + header.next().find('.lqt-command-edit-subject').show(); |
| 500 | + |
495 | 501 | var thread = $j('#lqt_thread_id_'+threadId); |
496 | 502 | liquidThreads.doReloadThread( thread ); |
497 | 503 | } else { |