1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-27 19:05:16 +00:00

repair share bug

This commit is contained in:
shanshuirenjia 2018-10-17 11:28:01 +08:00
parent 55f8277d43
commit f0fe76f4da

View File

@ -184,6 +184,10 @@ define([
this.$('#send-download-link').addClass('hide');
this.$('#download-link-operations .shared-link-copy-icon').addClass('hide');
this.$('#download-link, #direct-dl-link').append(' <span class="error">(' + gettext('Expired') + ')</span>');
} else {
this.$('#send-download-link').removeClass('hide');
this.$('#download-link-operations .shared-link-copy-icon').removeClass('hide');
this.$('#download-link .error, #direct-dl-link .error').remove('');
}
this.$('#download-link-operations').removeClass('hide');