add tooltip with document path for icon view
This commit is contained in:
parent
cb271b50e5
commit
cdc6d2dffc
@ -29,6 +29,7 @@ $.widget('oc.documentGrid', {
|
|||||||
docElem.removeClass('template').attr('data-id', document.fileid);
|
docElem.removeClass('template').attr('data-id', document.fileid);
|
||||||
a.css('background-image', 'url("'+document.icon+'")')
|
a.css('background-image', 'url("'+document.icon+'")')
|
||||||
.attr('href', OC.generateUrl('apps/files/download{file}',{file:document.path}))
|
.attr('href', OC.generateUrl('apps/files/download{file}',{file:document.path}))
|
||||||
|
.attr('title', document.path)
|
||||||
.attr('original-title', document.path)
|
.attr('original-title', document.path)
|
||||||
.attr('urlsrc', document.urlsrc)
|
.attr('urlsrc', document.urlsrc)
|
||||||
.find('label').text(document.name)
|
.find('label').text(document.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user