summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-26 16:16:21 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-26 16:16:21 +0100
commitf383332d838e06d65c2ad74636540bf2c88ba8cc (patch)
tree1718a92ec9c20903e6b861a8f080d859fe79a1ef /settings/templates
parent6deb553dc2e1e6d020d717c05acc36c0744ed0be (diff)
parent751e99512a379a6e0cfb3d6b35f897a36a49f251 (diff)
downloadnextcloud-server-f383332d838e06d65c2ad74636540bf2c88ba8cc.tar.gz
nextcloud-server-f383332d838e06d65c2ad74636540bf2c88ba8cc.zip
Merge pull request #21912 from owncloud/issue-21908-trashbin-flickering
Hide the delete button, until we know its a custom avatar
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 0f4638dcdcc..b00a5c5dd8a 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -41,7 +41,7 @@
<?php if ($_['avatarChangeSupported']): ?>
<label for="uploadavatar" class="inlineblock button icon-upload svg" id="uploadavatarbutton" title="<?php p($l->t('Upload new')); ?>"></label>
<div class="inlineblock button icon-folder svg" id="selectavatar" title="<?php p($l->t('Select from Files')); ?>"></div>
- <div class="inlineblock button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
+ <div class="hidden button icon-delete svg" id="removeavatar" title="<?php p($l->t('Remove image')); ?>"></div>
<input type="file" name="files[]" id="uploadavatar" class="hiddenuploadfield">
<p><em><?php p($l->t('png or jpg, max. 20 MB')); ?></em></p>
<?php else: ?>