mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
[share] bugfix for 'download link'
This commit is contained in:
@@ -222,6 +222,7 @@ define([
|
||||
|
||||
if (link_type == 'download') {
|
||||
_this.$('#download-link').html(data["download_link"]); // TODO: add 'click & select' func
|
||||
_this.$('#direct-dl-link').html(data['download_link'] + '?raw=1');
|
||||
_this.download_link = data["download_link"]; // for 'link send'
|
||||
_this.download_link_token = data["token"]; // for 'link delete'
|
||||
_this.$('#download-link-operations').removeClass('hide');
|
||||
|
Reference in New Issue
Block a user