mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-03 05:27:10 +00:00
repair share bug
This commit is contained in:
parent
55f8277d43
commit
f0fe76f4da
@ -184,6 +184,10 @@ define([
|
|||||||
this.$('#send-download-link').addClass('hide');
|
this.$('#send-download-link').addClass('hide');
|
||||||
this.$('#download-link-operations .shared-link-copy-icon').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>');
|
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');
|
this.$('#download-link-operations').removeClass('hide');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user