refs #11 no file context menu if in share page
parent
5b58e457dc
commit
3f22cb380a
|
@ -1,6 +1,6 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
if (OCA.Files && OCA.Files.fileActions) {
|
if (OCA.Files && OCA.Files.fileActions && !$('#sharingToken').val()) {
|
||||||
|
|
||||||
function openFile(file, data){
|
function openFile(file, data){
|
||||||
var url = OC.generateUrl('apps/gpxedit/?file={filepath}',{'filepath': data.dir+'/'+file});
|
var url = OC.generateUrl('apps/gpxedit/?file={filepath}',{'filepath': data.dir+'/'+file});
|
||||||
|
|
Loading…
Reference in New Issue