Error when uploading new resource

You get the message `URL: Missing value` when trying to upload a resource. This was introduced at \#1550 in commit e9e3d81. The problem is that the browser doesn't send the value of disabled inputs.