jenkins-bot has submitted this change and it was merged.
Change subject: mw.UploadWizardUpload: Remove unused 'start' method
......................................................................
mw.UploadWizardUpload: Remove unused 'start' method
Change-Id: I846876633cfb8b363b52022b59576f5624867c4c
---
M resources/mw.UploadWizardUpload.js
M resources/mw.UploadWizardUploadInterface.js
2 files changed, 0 insertions(+), 22 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/resources/mw.UploadWizardUpload.js
b/resources/mw.UploadWizardUpload.js
index 37bb7e3..3255187 100644
--- a/resources/mw.UploadWizardUpload.js
+++ b/resources/mw.UploadWizardUpload.js
@@ -111,7 +111,6 @@
*/
mw.UploadWizardUpload.prototype.start = function () {
this.setTransportProgress(0.0);
- //this.ui.start();
// handler -- usually ApiUploadHandler
this.handler = this.getUploadHandler();
diff --git a/resources/mw.UploadWizardUploadInterface.js
b/resources/mw.UploadWizardUploadInterface.js
index 069e144..8593767 100644
--- a/resources/mw.UploadWizardUploadInterface.js
+++ b/resources/mw.UploadWizardUploadInterface.js
@@ -141,27 +141,6 @@
};
/**
- * Things to do to this interface once we start uploading
- */
- mw.UploadWizardUploadInterface.prototype.start = function () {
- // remove hovering
- $( this.div )
- .unbind( 'mouseenter mouseover mouseleave mouseout' );
-
- // remove delete control
- $( this.visibleFilenameDiv )
- .find( '.mwe-upwiz-remove-ctrl' )
- .unbind( 'mouseenter mouseover mouseleave mouseout' )
- .remove();
-
- // remove thumb control
- $( this.visibleFilenameDiv )
- .find( '.mwe-upwiz-show-thumb-ctrl' )
- .unbind( 'mouseenter mouseover mouseleave mouseout' )
- .remove();
- };
-
- /**
* change the graphic indicator at the far end of the row for this file
* @param String statusClass: corresponds to a class mwe-upwiz-status
which changes style of indicator.
*/
--
To view, visit https://gerrit.wikimedia.org/r/246237
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I846876633cfb8b363b52022b59576f5624867c4c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits