From 656c2e6d3c3609128e49a169e3dd70b580088e44 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 10 Jul 2014 04:45:53 -0400 Subject: [PATCH] Use the document display view and not the document preview view by default now when clicking on document thumbnails --- mayan/apps/documents/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/documents/widgets.py b/mayan/apps/documents/widgets.py index b4b8dbb4d7..2a6d7d7a4c 100644 --- a/mayan/apps/documents/widgets.py +++ b/mayan/apps/documents/widgets.py @@ -64,7 +64,7 @@ class DocumentPagesCarouselWidget(forms.widgets.Widget): def document_thumbnail(document, **kwargs): - return document_html_widget(document, click_view='document_preview', **kwargs) + return document_html_widget(document, click_view='document_display', **kwargs) def document_link(document):