diff --git a/settings/js/personal.js b/settings/js/personal.js index ae939aaa9e6..8336e9c8362 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -157,6 +157,10 @@ $(document).ready(function(){ } }; + $('#uploadavatarbutton').click(function(){ + $('#uploadavatar').click(); + }); + $('#uploadavatar').fileupload(uploadparms); $('#selectavatar').click(function(){ diff --git a/settings/templates/personal.php b/settings/templates/personal.php index 348716ca02d..93aaa5ac1e7 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -90,7 +90,8 @@ if($_['passwordChangeSupported']) {
t('Your avatar has to be a square and either a PNG or JPG image')); ?>
- +
t('Upload a new avatar')); ?>
+
t('Select a new avatar from your files')); ?>
t('Remove my avatar')); ?>