mediawiki.feedback: Don't use deprecated calling convention for mw.Api#newSection
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 30 Jun 2014 21:43:00 +0000 (23:43 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 30 Jun 2014 21:43:00 +0000 (23:43 +0200)
Change-Id: I82e69a19f1d4416d456521c1233d13a349fe457e

resources/src/mediawiki/mediawiki.feedback.js

index e160579..6533db1 100644 (file)
 
                        this.displaySubmitting();
 
-                       this.api.newSection( this.title, subject, message, ok, err );
+                       this.api.newSection( this.title, subject, message ).done( ok ).fail( err );
                },
 
                /**