1
0
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:
llj
2015-05-27 15:10:50 +08:00
parent 7f8e7f15fe
commit be238d44c4
3 changed files with 10 additions and 3 deletions

View File

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