MarkTraceur has uploaded a new change for review.

Change subject: (bug 37302) Only fire startUploads once, after all files are 
ready
......................................................................

(bug 37302) Only fire startUploads once, after all files are ready

The patch for starting uploads immediately changed it so _every_
file would call the progress bar's start method, causing a flicker
in the interface. This patch only fires the startUploads method
after all files have been properly initialized, making it a one-
time event *and* and accurate one, since there are no missing
files.

This is a second attempt, I had to add in a consideration for the
start-immediately option that would keep the "add another file"
button around even after uploads started.

Change-Id: I24806f4525201da8b0a5f89caf8b586e449d407e
---
M resources/mw.UploadWizard.js
M resources/mw.UploadWizardUpload.js
2 files changed, 23 insertions(+), 17 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/UploadWizard 
refs/changes/47/22047/1
--
To view, visit https://gerrit.wikimedia.org/r/22047
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I24806f4525201da8b0a5f89caf8b586e449d407e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to