refs #11 no file context menu if in share page

merge-requests/1/head
Julien Veyssier 2017-03-15 03:47:12 -03:00
parent 5b58e457dc
commit 3f22cb380a
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
$(document).ready(function() {
if (OCA.Files && OCA.Files.fileActions) {
if (OCA.Files && OCA.Files.fileActions && !$('#sharingToken').val()) {
function openFile(file, data){
var url = OC.generateUrl('apps/gpxedit/?file={filepath}',{'filepath': data.dir+'/'+file});