diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-11-01 14:49:52 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2017-11-01 14:49:52 +0100 |
commit | 84b8cb12be60b2d513f31181792d4c0ff35a827d (patch) | |
tree | d789e798d3828bdcb0a9c5b5f714ae5a2134478b /apps/files_sharing/templates | |
parent | 18dff925bec138afb0a717a5728caf4f63bbb593 (diff) | |
download | nextcloud-server-84b8cb12be60b2d513f31181792d4c0ff35a827d.tar.gz nextcloud-server-84b8cb12be60b2d513f31181792d4c0ff35a827d.zip |
Clicking publicly shared image opens direct preview url
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index beeefe13cbd..5417809b908 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -16,6 +16,7 @@ <input type="hidden" id="isPublic" name="isPublic" value="1"> <input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir"> <input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL"> +<input type="hidden" name="previewURL" value="<?php p($_['previewURL']) ?>" id="previewURL"> <input type="hidden" name="sharingToken" value="<?php p($_['sharingToken']) ?>" id="sharingToken"> <input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename"> <input type="hidden" name="mimetype" value="<?php p($_['mimetype']) ?>" id="mimetype"> |