Index: branches/wmf/1.19wmf1/extensions/ProofreadPage/proofread.js |
— | — | @@ -749,18 +749,18 @@ |
750 | 750 | return; |
751 | 751 | } |
752 | 752 | var f = text.parentNode; |
753 | | - var new_text = f.removeChild( text ); |
754 | 753 | |
755 | 754 | if( proofreadPageIsEdit ) { |
756 | 755 | pr_make_edit_area( self.text_container, new_text.value ); |
757 | | - var copywarn = document.getElementById( 'editpage-copywarn' ); |
758 | | - f.insertBefore( table, copywarn ); |
| 756 | + f.insertBefore( table, text.nextSibling ); // Inserts table after text |
| 757 | + f.removeChild( text ); |
759 | 758 | if ( !self.proofreadpage_show_headers ) { |
760 | 759 | hookEvent( 'load', pr_toggle_visibility ); |
761 | 760 | } else { |
762 | 761 | hookEvent( 'load', pr_reset_size ); |
763 | 762 | } |
764 | 763 | } else { |
| 764 | + var new_text = f.removeChild( text ); |
765 | 765 | self.text_container.appendChild( new_text ); |
766 | 766 | f.appendChild( self.table ); |
767 | 767 | } |
Property changes on: branches/wmf/1.19wmf1/extensions/ProofreadPage |
___________________________________________________________________ |
Added: svn:mergeinfo |
768 | 768 | Merged /trunk/extensions/ProofreadPage:r111043,111199,111218,111484,111575,111604,111659-111661,111668,111670,111688,111690,111698,111713,111715,111780,111796,111814,111947,112074,112153,112160,112166,112520 |
769 | 769 | Merged /branches/sqlite/extensions/ProofreadPage:r58211-58321 |
770 | 770 | Merged /trunk/phase3/extensions/ProofreadPage:r111002,111029,111034,111062,111067,111076,111085,111128,111144,111251 |
771 | 771 | Merged /branches/new-installer/phase3/extensions/ProofreadPage:r43664-66004 |
772 | 772 | Merged /branches/JSTesting/extensions/ProofreadPage:r100352-107913 |
773 | 773 | Merged /branches/REL1_15/phase3/extensions/ProofreadPage:r51646 |
774 | 774 | Merged /branches/wmf/1.18wmf1/extensions/ProofreadPage:r97508 |
775 | 775 | Merged /branches/REL1_17/phase3/extensions/ProofreadPage:r81445,81448 |