MediaWiki:FileUploadWizard.js: Difference between revisions
Content deleted Content added
Fix bad syntax in selector, was causing JS errors |
|||
Line 300:
['PD-author', 'Public ___domain'],
[],
['Other
[]
],
Line 315 ⟶ 314:
['PD-author', 'Public ___domain'],
[],
['Other
[]
],
Line 535 ⟶ 533:
var warn = fuw.warn;
var opts = fuw.opts = { };
opts.InputFilename = ($('#TargetForm .[name="file"]')[0]).value;
var widgets = fuw.ScriptForm.elements;
Line 757 ⟶ 755:
// setting the submit buttons active
var valid = fuw.validateInput();
var validForCommons = valid && opts.OptionFree && !(opts.OverwriteSame || opts.OverwriteDifferent)
&& !opts.ThirdPartyEvidenceOptionNone;
fuwSetVisible('sendToCommons', opts.OptionFree);
fuwSetEnabled('CommonsButton', validForCommons);
|