Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5aa797dc authored by Alexandre Roux's avatar Alexandre Roux
Browse files

Merge branch 'dev/fix-newline-snappymail' into 'main'

Adding patch to fix newline break on snappymail

See merge request !304
parents 4e62df59 2ba610a7
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -64,6 +64,8 @@ RUN curl -sL ${GOOGLE_INTEGRATION_URL} | tar xzf - -C ${BASE_DIR}/custom_apps
RUN rm -rf ${BASE_DIR}/themes/Murena/* && \
    curl -sL ${SNAPPY_THEME_VERSION} | tar xzf - -C ${BASE_DIR}/themes/Murena/

#Workaround to fix line break when answering an email on firefox 
RUN sed -i 's/this.oEditor?.focus()/(this.oEditor?.focus(),navigator.userAgent.includes("Firefox")\&\&(window.getSelection().modify("move","forward","character"),window.getSelection().modify("move","backward","character")))/' ${BASE_DIR}/custom_apps/snappymail/app/snappymail/v/*/static/js/min/app.min.js

# Remove unzip when unzipping is done
RUN apt-get -y remove unzip