Index: trunk/extensions/UploadWizard/resources/mw.Api.edit.js |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | var getTokenIfBad = function( code, result ) { |
35 | 35 | if ( code === 'badtoken' ) { |
36 | 36 | cachedToken = null; // force a new token |
37 | | - api.postWidthEditToken( params, ok, err ); |
| 37 | + api.postWithEditToken( params, ok, err ); |
38 | 38 | } else { |
39 | 39 | err( code, result ); |
40 | 40 | } |