jenkins-bot has submitted this change and it was merged.
Change subject: mw.UploadWizardUploadInterface: Remove some dead code
......................................................................
mw.UploadWizardUploadInterface: Remove some dead code
Change-Id: I0ac0f6d640d694ff92037349434628a518a879fe
---
M resources/mw.UploadWizardUploadInterface.js
1 file changed, 0 insertions(+), 5 deletions(-)
Approvals:
MarkTraceur: Looks good to me, approved
jenkins-bot: Verified
diff --git a/resources/mw.UploadWizardUploadInterface.js
b/resources/mw.UploadWizardUploadInterface.js
index 4fea0aa..bce5282 100644
--- a/resources/mw.UploadWizardUploadInterface.js
+++ b/resources/mw.UploadWizardUploadInterface.js
@@ -72,10 +72,6 @@
this.visibleFilenameDiv.find( '.mwe-upwiz-file-status-line' )
.append( this.removeCtrl.$element );
- // Add show thumbnail control
-
- // this.errorDiv = $('<div class="mwe-upwiz-upload-error
mwe-upwiz-file-indicator" style="display: none;"></div>').get(0);
-
this.filenameCtrl = $( '<input type="hidden" name="filename"
value=""/>' ).get( 0 );
// this file Ctrl container is placed over other interface
elements, intercepts clicks and gives them to the file input control.
@@ -627,7 +623,6 @@
*/
mw.UploadWizardUploadInterface.prototype.clearErrors = function () {
$( this.div ).removeClass( 'mwe-upwiz-upload-error' );
- $( this.errorDiv ).hide().empty();
};
/**
--
To view, visit https://gerrit.wikimedia.org/r/251184
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0ac0f6d640d694ff92037349434628a518a879fe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoĆski <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: Prtksxna <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits