mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[FIX] get original-title attribute
This commit is contained in:
parent
bbcf0c0d49
commit
10e571b959
@ -49,7 +49,7 @@ openerp.attachment_preview = function(instance)
|
||||
attachment_id = parseInt($target.attr('data-id')),
|
||||
attachment_url = $target.attr('data-url'),
|
||||
attachment_extension = $target.attr('data-extension'),
|
||||
attachment_title = $target.attr('title');
|
||||
attachment_title = $target.attr('original-title');
|
||||
if(attachment_extension)
|
||||
{
|
||||
this.show_preview(
|
||||
|
Loading…
Reference in New Issue
Block a user