From cdc6d2dffc97125fae1eefc9cfd8f41769bfea8b Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 20 Apr 2016 14:31:18 +0200 Subject: [PATCH] add tooltip with document path for icon view --- js/documents.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/documents.js b/js/documents.js index 52b30bf0..28157242 100644 --- a/js/documents.js +++ b/js/documents.js @@ -29,6 +29,7 @@ $.widget('oc.documentGrid', { docElem.removeClass('template').attr('data-id', document.fileid); a.css('background-image', 'url("'+document.icon+'")') .attr('href', OC.generateUrl('apps/files/download{file}',{file:document.path})) + .attr('title', document.path) .attr('original-title', document.path) .attr('urlsrc', document.urlsrc) .find('label').text(document.name)