if editable, add tooltip to poster/icon in info view

This commit is contained in:
rolux 2011-10-29 07:59:18 +00:00
parent d5984e474e
commit dc8a43a094

View file

@ -47,7 +47,10 @@ pandora.ui.infoView = function(data) {
}) })
.appendTo($info), .appendTo($info),
$icon = Ox.Element('<img>') $icon = Ox.Element({
element: '<img>',
tooltip: canEdit ? 'Doubleclick to edit' : ''
})
.attr({ .attr({
src: '/' + data.id + '/' + ( src: '/' + data.id + '/' + (
ui.icons == 'posters' ui.icons == 'posters'