Board Thread:General Coding Help/@comment-26859789-20171020053427/@comment-26859789-20171021015451

Hi Unai01. That code doesn't work when you are editing a page because the #ImageUploadLicense isn't in the page until you load the modal to upload a file. Also, I tried to load the code while the #ImageUploadLicense was loaded (I wrote  in the console) and ... I found a provitional way to prevent uploading without license and is the one I used in MediaWiki:UploadInPage/code.js, but as I said, it is provitional, because it uses a , which is a function that I don't like to use. Regards.

PD: I know you talk spanish but I think that because this is an English wiki, I should talk in English...