1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-26 07:22:34 +00:00

Merge pull request #2455 from haiwen/share-bug

repair share bug
This commit is contained in:
lian
2018-10-17 11:37:39 +08:00
committed by GitHub

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');