summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-06-29 11:04:14 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-29 14:12:07 +0200
commit94dcddc45ecff2d3772e56466dc0c8fd3588e6fa (patch)
treea14937a7e2211a220320d30b3ce4b56000d85f76
parentb47085c8fe53c228ee44e1e32b88b46218560c85 (diff)
downloadnextcloud-server-94dcddc45ecff2d3772e56466dc0c8fd3588e6fa.tar.gz
nextcloud-server-94dcddc45ecff2d3772e56466dc0c8fd3588e6fa.zip
Do not hide reset button
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--apps/systemtags/js/admin.js2
-rw-r--r--apps/systemtags/templates/admin.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/systemtags/js/admin.js b/apps/systemtags/js/admin.js
index 280616ea432..5e97cf8ad6d 100644
--- a/apps/systemtags/js/admin.js
+++ b/apps/systemtags/js/admin.js
@@ -117,13 +117,11 @@
$('#systemtags').attr('data-systemtag-id', tagId);
$('#systemtag_delete').removeClass('hidden');
$('#systemtag_submit span').text(t('systemtags_manager', 'Update'));
- $('#systemtag_reset').removeClass('hidden');
$('#systemtag_create').addClass('hidden');
} else {
$('#systemtag').select2('val', '');
$('#systemtags').attr('data-systemtag-id', '');
$('#systemtag_delete').addClass('hidden');
- $('#systemtag_reset').addClass('hidden');
$('#systemtag_submit span').text(t('systemtags_manager', 'Create'));
$('#systemtag_create').removeClass('hidden');
}
diff --git a/apps/systemtags/templates/admin.php b/apps/systemtags/templates/admin.php
index 3d0b915c52c..fa1b07cb187 100644
--- a/apps/systemtags/templates/admin.php
+++ b/apps/systemtags/templates/admin.php
@@ -50,7 +50,7 @@ style('systemtags', 'settings');
</select>
<a id="systemtag_delete" class="hidden icon-delete"><span class="hidden-visually"><?php p($l->t('Delete')); ?></span></a>
- <a id="systemtag_reset" class="hidden icon-close"><span class="hidden-visually"><?php p($l->t('Reset')); ?></span></a>
+ <a id="systemtag_reset" class="icon-close"><span class="hidden-visually"><?php p($l->t('Reset')); ?></span></a>
<a id="systemtag_submit" class="icon-confirm"><span class="hidden-visually"><?php p($l->t('Create')); ?></span></a>
</div>