r100091 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100090‎ | r100091 | r100092 >
Date:21:31, 17 October 2011
Author:foxtrott
Status:deferred
Tags:
Comment:
followup r100090: remove some unnecessary code
Modified paths:
  • /trunk/extensions/SemanticForms/libs/SF_submit.js (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/libs/SF_submit.js
@@ -59,9 +59,8 @@
6060
6161 sajax_request_type = 'POST';
6262 var form = $('#sfForm');
63 - var formdata = collectData( form );
6463
65 - sajax_do_call( 'SFAutoeditAPI::handleAutoEdit', new Array(formdata, false), function( ajaxHeader ){
 64+ sajax_do_call( 'SFAutoeditAPI::handleAutoEdit', new Array(collectData( form ), false), function( ajaxHeader ){
6665
6766 if ( ajaxHeader.status == 200 ) {
6867
@@ -111,8 +110,6 @@
112111
113112 function collectData( form ) {
114113
115 - var params = form.serialize();
116 -
117114 var summaryfield = jQuery("#wpSummary", form);
118115 if ( summaryfield.length > 0 ) {
119116

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100090summary for save-and-continuefoxtrott21:28, 17 October 2011