Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/251185
Change subject: mw.UploadWizardDetails: Remove unused method #error
......................................................................
mw.UploadWizardDetails: Remove unused method #error
I'm not sure if it was ever used at all. this.errorDiv, which it
refers to, doesn't seem to have ever existed.
Change-Id: I105e4b97ea91d69b5564296a0e538a1c8e6cc467
---
M resources/mw.UploadWizardDetails.js
1 file changed, 0 insertions(+), 16 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard
refs/changes/85/251185/1
diff --git a/resources/mw.UploadWizardDetails.js
b/resources/mw.UploadWizardDetails.js
index a43d4e7..adbbaac 100644
--- a/resources/mw.UploadWizardDetails.js
+++ b/resources/mw.UploadWizardDetails.js
@@ -1149,22 +1149,6 @@
},
/**
- * Display an error with details
- * XXX this is a lot like upload ui's error -- should merge
- */
- error: function () {
- // copies arguments into a real array
- var args = Array.prototype.slice.call( arguments ),
- msg = 'mwe-upwiz-upload-error-' + args[ 0 ];
-
- $( this.errorDiv ).append( $( '<p
class="mwe-upwiz-upload-error"></p>' ).text( mw.message( msg, args.slice( 1 )
).text() ) );
- // apply a error style to entire did
- $( this.div ).addClass( 'mwe-upwiz-upload-error' );
- $( this.dataDiv ).hide();
- $( this.errorDiv ).show();
- },
-
- /**
* Given the API result pull some info into the form ( for
instance, extracted from EXIF, desired filename )
*
* @param {Object} result Upload API result object
--
To view, visit https://gerrit.wikimedia.org/r/251185
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I105e4b97ea91d69b5564296a0e538a1c8e6cc467
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits