Do not hide reset button
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
b47085c8fe
commit
94dcddc45e
|
@ -117,13 +117,11 @@
|
||||||
$('#systemtags').attr('data-systemtag-id', tagId);
|
$('#systemtags').attr('data-systemtag-id', tagId);
|
||||||
$('#systemtag_delete').removeClass('hidden');
|
$('#systemtag_delete').removeClass('hidden');
|
||||||
$('#systemtag_submit span').text(t('systemtags_manager', 'Update'));
|
$('#systemtag_submit span').text(t('systemtags_manager', 'Update'));
|
||||||
$('#systemtag_reset').removeClass('hidden');
|
|
||||||
$('#systemtag_create').addClass('hidden');
|
$('#systemtag_create').addClass('hidden');
|
||||||
} else {
|
} else {
|
||||||
$('#systemtag').select2('val', '');
|
$('#systemtag').select2('val', '');
|
||||||
$('#systemtags').attr('data-systemtag-id', '');
|
$('#systemtags').attr('data-systemtag-id', '');
|
||||||
$('#systemtag_delete').addClass('hidden');
|
$('#systemtag_delete').addClass('hidden');
|
||||||
$('#systemtag_reset').addClass('hidden');
|
|
||||||
$('#systemtag_submit span').text(t('systemtags_manager', 'Create'));
|
$('#systemtag_submit span').text(t('systemtags_manager', 'Create'));
|
||||||
$('#systemtag_create').removeClass('hidden');
|
$('#systemtag_create').removeClass('hidden');
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ style('systemtags', 'settings');
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<a id="systemtag_delete" class="hidden icon-delete"><span class="hidden-visually"><?php p($l->t('Delete')); ?></span></a>
|
<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>
|
<a id="systemtag_submit" class="icon-confirm"><span class="hidden-visually"><?php p($l->t('Create')); ?></span></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue