MarkTraceur has uploaded a new change for review.

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

Change subject: Fix conditional deed step skipping for Flickr
......................................................................

Fix conditional deed step skipping for Flickr

Bug: T101616
Change-Id: I9f590448c5a4ff648555e740d2486ed148647613
---
M resources/controller/uw.controller.Deed.js
1 file changed, 6 insertions(+), 1 deletion(-)


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

diff --git a/resources/controller/uw.controller.Deed.js 
b/resources/controller/uw.controller.Deed.js
index bb9a00f..3e4b813 100644
--- a/resources/controller/uw.controller.Deed.js
+++ b/resources/controller/uw.controller.Deed.js
@@ -40,7 +40,12 @@
        DP = Deed.prototype;
 
        DP.moveFrom = function () {
-               var valid = this.deedChooser.valid();
+               var valid = true;
+               
+               if ( this.deedChooser ) {
+                       valid = this.deedChooser.valid();
+               }
+
                // validate has the side effect of notifying the user of 
problems, or removing existing notifications.
                // if returns false, you can assume there are notifications in 
the interface.
                if ( valid ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/216720
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f590448c5a4ff648555e740d2486ed148647613
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: wmf/1.26wmf8
Gerrit-Owner: MarkTraceur <[email protected]>

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

Reply via email to