MarkTraceur has uploaded a new change for review.

Change subject: (bug 38022) Check for completeness in confirmCloseWindow
......................................................................

(bug 38022) Check for completeness in confirmCloseWindow

If you want to close the window, we stop you. We want to protect
your data from being lost by an accidental "Ctrl-W" when you meant
"Ctrl-V" or whatever. But on the last page ("thanks")...there's no
longer any danger. Your data is saved. So let's allow total
anarchy.

This patch fixes the bug and generally makes for a better system.
It should also be modified to work with change I4994d2bf because
it uses a .length === 0 check. We need to account for empty
uploads, which this patch does only partly.

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


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

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