From f68911d2d9529941a430eb24af18fdd81bc6a7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 26 Nov 2018 12:26:52 +0100 Subject: [PATCH] add preview on new specific documents table (#28332) --- src/pfwbged/collection/pfwbcollection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pfwbged/collection/pfwbcollection.js b/src/pfwbged/collection/pfwbcollection.js index 166a3b9..6613f79 100644 --- a/src/pfwbged/collection/pfwbcollection.js +++ b/src/pfwbged/collection/pfwbcollection.js @@ -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',