From dfea3d0e735f1665a14f7e534e352e0e00871a02 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 6 Jun 2022 14:57:16 +0300 Subject: [PATCH] Removed lightbox that caused bugs like Maximum stack size exceeded. TODO later: Add a new way to open attachment image bigger. Thanks to xet7 ! Related #4545 --- .meteor/packages | 27 ++++++++++-------------- .meteor/versions | 1 - client/components/cards/attachments.jade | 4 +++- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/.meteor/packages b/.meteor/packages index 8c07c71f1..0f3789515 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -26,9 +26,17 @@ mongo@1.15.0 mquandalle:collection-mutations # Account system -#wekan-ldap -#wekan-accounts-cas -#wekan-accounts-oidc +accounts-password@2.3.1 +useraccounts:core +useraccounts:flow-routing +useraccounts:unstyled +simple:rest-accounts-password +wekan-ldap +wekan-accounts-cas +wekan-accounts-sandstorm +wekan-accounts-lockout +wekan-oidc +wekan-accounts-oidc # Utilities check@1.3.1 @@ -62,7 +70,6 @@ rajit:bootstrap3-datepicker shell-server@0.5.0 email@2.2.1 dynamic-import@0.7.2 - cfs:gridfs rzymek:fullcalendar msavin:usercache @@ -128,21 +135,9 @@ pascoual:pdfkit lmieulet:meteor-coverage meteortesting:mocha@2.0.3 aldeed:simple-schema -accounts-password@2.3.1 matb33:collection-hooks simple:json-routes kadira:flow-router spacebars -useraccounts:core -useraccounts:flow-routing -useraccounts:unstyled service-configuration@1.3.0 communitypackages:picker -simple:rest-accounts-password -wekan-accounts-sandstorm -wekan-accounts-lockout -wekan-oidc -wekan-accounts-oidc -wekan-ldap -wekan-accounts-cas -czbaker:lightbox2 diff --git a/.meteor/versions b/.meteor/versions index 35a9d8af4..c9993760a 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -43,7 +43,6 @@ coffeescript@2.4.1 coffeescript-compiler@2.4.1 communitypackages:picker@1.1.0 cottz:publish-relations@2.0.8 -czbaker:lightbox2@2.7.1_1 dburles:collection-helpers@1.1.0 ddp@1.4.0 ddp-client@2.5.0 diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index 8579abd98..fa49271a3 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -19,7 +19,9 @@ template(name="attachmentsGalery") .attachments-galery each attachments .attachment-item - a.attachment-thumbnail(href="{{link}}" title="{{name}}" data-lightbox="{{name}}") + // TODO: Add popup of attachment image later, with some swipebox or lightbox that would not add bugs + // a.attachment-thumbnail(href="{{link}}" title="{{name}}") + span.attachment-thumbnail(href="{{link}}" title="{{name}}") if link if isImage img.attachment-thumbnail-img(src="{{link}}")