noosfero | adding thumbnail in editing profile picture (!1354)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Nov 28 11:16:35 BRST 2017


Rodrigo Souto started a new discussion on app/views/shared/_change_image.html.erb:

> -<%= file_field_tag("#{for_attr}[uploaded_data]", { :onchange => 'updateImg(this.value)' } ) %>
> +<%= file_field_tag("#{for_attr}[uploaded_data]", { :onchange => 'updateImg(this.value)', :id => "pictureInput" } ) %>

Change `pictureInput` to `picture-input` since it's the canonical style for css selectors.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1354#note_48975312
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171128/2b4f08b9/attachment-0001.html>


More information about the Noosfero-dev mailing list