add preview on new specific documents table (#28332)
This commit is contained in:
parent
afb2c01548
commit
f68911d2d9
|
@ -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',
|
||||
|
|
Reference in New Issue