Upload button grayed out


(Praveen Kumar P S) #1

Hi guys…

I was trying to upload an image for facebook open graph via upload option in customize, but the upload button is grayed out. I am unable to upload the image. It seems like a bug to me. Any idea?

Thanks

bug


(Daniela) #2

Bug confirmed here on Meta.

For some reason the button is disabled by default

@Pravi, as a temporary workaround you can edit the HTML by deleting the part highlighted in the image above. The button will return to be clickable and working.

cc @awesomerobot


(Praveen Kumar P S) #3

Thank you so much… The temporary solution worked.
Hope you guys will fix the bugs soon.


(Jeff Atwood) #4

Looks like a valid bug @sam


(Joffrey Jaffeux) #6

The regex changed in this commit FIX: validates 'ThemeField' name when used in a SCSS variable · discourse/discourse@24e89b6 · GitHub is causing the issue.

This regex will fail if your image is capitalized like : IMG_0039 for example, not sure about the motivation to only allow downcase.


(Régis Hanol) #8

I’ll fix it tomorrow.


(Régis Hanol) #9

Thanks for reporting that @Pravi. I’ve pushed a fix :banana:


(Régis Hanol) #10