Customers portal : Fixed a bug on profile picture edition. Button was not working on Firefox.

SVN:trunk[4254]
This commit is contained in:
Guillaume Lajarige
2016-06-23 08:59:18 +00:00
parent daea9f0925
commit f82b5833aa
2 changed files with 6 additions and 2 deletions

View File

@@ -59,10 +59,10 @@
<img src="{{ sUserPhotoUrl }}"/>
</span>
<span class="actions">
<button type="button" class="btn btn-default btn_edit">
<span type="button" class="btn btn-default btn_edit">
<span class="fa fa-pencil fa-fw"></span>
<input id="picture" type="file" name="picture" />
</button>
</span>
{#<button type="button" class="btn btn-default btn_undo" title="{{ 'UI:Button:ResetImage'|dict_s }}" disabled>
<span class="fa fa-undo fa-fw"></span>
</button>

View File

@@ -515,6 +515,10 @@ footer{
max-height: 175px;
overflow: hidden;
}
#user-profile-wrapper .user_profile_picture .preview img{
max-width: 100%;
max-height: 100%;
}
#user-profile-wrapper .user_profile_picture .actions{
display: inline-block;
vertical-align: top; /*middle;*/