Bartosz Dziewoński has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/251184

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/84/251184/1

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: newchange
Gerrit-Change-Id: I0ac0f6d640d694ff92037349434628a518a879fe
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

Reply via email to