add preview on new specific documents table (#28332)

This commit is contained in:
Frédéric Péters 2018-11-26 12:26:52 +01:00
parent afb2c01548
commit f68911d2d9
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@
$.querywidget.updatePreviewLinks = function () {
var xhr_preview = null;
$('.ResultsTasksTable tr a, .ResultsTable tr a').hover(function() {
$('.ResultsTasksTable tr a, .ResultsDocumentsTable tr a, .ResultsTable tr a').hover(function() {
$('#preview-doc').remove();
if (xhr_preview !== null) xhr_preview.abort();
xhr_preview = $.getJSON($(this).attr('href') + '/@@preview',