Skip to content

Commit

Permalink
fix(mail(js)): fix url for protocol Handler registration
Browse files Browse the repository at this point in the history
Fixes #5513
  • Loading branch information
abma committed May 9, 2022
1 parent 5dce4d0 commit 09ac2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/WebServerResources/js/Mailer/Mailer.app.js
Expand Up @@ -144,7 +144,7 @@

// Try to register SOGo has an handler for mailto: links
if (navigator && navigator.registerProtocolHandler) {
var mailtoURL = window.location.origin + window.ApplicationBaseURL + 'UIxMailPopupView#!/Mail/0/INBOX/new?%s';
var mailtoURL = window.location.origin + window.ApplicationBaseURL + 'UIxMailPopupView#!/Mail/0/new?%s';
try {
navigator.registerProtocolHandler('mailto', mailtoURL, 'SOGo');
}
Expand Down

0 comments on commit 09ac2df

Please sign in to comment.