https://bugzilla.wikimedia.org/show_bug.cgi?id=28818

--- Comment #1 from Brion Vibber <br...@wikimedia.org> 2011-05-04 23:08:25 UTC 
---
Changing the check in mw.UploadWizardDetails.js should fix it:

    var hiddenCats = [];
    if ( mw.isDefined( mw.UploadWizard.config.autoCategory ) ) {
        hiddenCats.push( mw.UploadWizard.config.autoCategory );
    }

mw.isDefined checks for the JS 'undefined' type, so returns true for false,
null, empty string, etc.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to