From d58233d0cec6642830bc297065f69b7fd5667f23 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 5 Nov 2019 15:46:13 +0100 Subject: [PATCH] Fixed issue #2796 - Image/attachment preview is to small, need to download image and open it locally. --- .../javascripts/app/controllers/_application_controller.coffee | 1 + .../app/controllers/ticket_zoom/article_image_view.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller.coffee b/app/assets/javascripts/app/controllers/_application_controller.coffee index f41b81d9d..42f2faf9f 100644 --- a/app/assets/javascripts/app/controllers/_application_controller.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller.coffee @@ -452,6 +452,7 @@ class App.ControllerModal extends App.Controller keyboard: true large: false small: false + veryLarge: false head: '?' autoFocusOnFirstInput: true container: null diff --git a/app/assets/javascripts/app/controllers/ticket_zoom/article_image_view.coffee b/app/assets/javascripts/app/controllers/ticket_zoom/article_image_view.coffee index de542b3fc..8451e9a1b 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom/article_image_view.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom/article_image_view.coffee @@ -4,7 +4,7 @@ class App.TicketZoomArticleImageView extends App.ControllerModal buttonSubmit: 'Download' buttonClass: 'btn--success' head: '' - large: true + veryLarge: true events: 'submit form': 'submit'