add tooltip with document path for icon view

This commit is contained in:
Andras Timar 2016-04-20 14:31:18 +02:00
parent cb271b50e5
commit cdc6d2dffc

View File

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