Index: trunk/extensions/WikiEditor/modules/jquery.wikiEditor.preview.js |
— | — | @@ -113,9 +113,9 @@ |
114 | 114 | }; |
115 | 115 | var section = $( '[name=wpSection]' ).val(); |
116 | 116 | if ( section != '' ) |
117 | | - postdata['rvsection'] = section; |
| 117 | + postdata2['rvsection'] = section; |
118 | 118 | |
119 | | - $.post( mw.util.wikiScript( 'api' ) + postdata2, function( data ) { |
| 119 | + $.post( mw.util.wikiScript( 'api' ), postdata2, function( data ) { |
120 | 120 | // Add diff CSS |
121 | 121 | mw.loader.load( 'mediawiki.legacy.diff' ); |
122 | 122 | try { |