From d7d88e26202bfcf7bf3a099154e3afdd5e5efe92 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 19 Jan 2017 12:23:55 -0500 Subject: [PATCH] (js) Compose new message in a popup window --- NEWS | 1 + UI/MailerUI/English.lproj/Localizable.strings | 6 ++ UI/Templates/MailerUI/UIxMailEditor.wox | 5 +- .../MailerUI/UIxMailFolderTemplate.wox | 22 ++++++ .../js/Mailer/MailboxController.js | 71 +++++++++++++------ .../js/Mailer/Mailer.popup.js | 9 ++- .../js/Mailer/MessageController.js | 32 ++++----- 7 files changed, 101 insertions(+), 45 deletions(-) diff --git a/NEWS b/NEWS index 0a560d187..60c038600 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ Enhancements - [web] show locale codes beside language names in Preferences module - [web] fixed visual glitches in Month view with Firefox - [web] mail editor can now be expanded horizontally and automatically expands vertically + - [web] compose a new message inline or in a popup window Bug fixes - [core] remove all alarms before sending IMIP replies (#3925) diff --git a/UI/MailerUI/English.lproj/Localizable.strings b/UI/MailerUI/English.lproj/Localizable.strings index f414ad8a8..0918b210e 100644 --- a/UI/MailerUI/English.lproj/Localizable.strings +++ b/UI/MailerUI/English.lproj/Localizable.strings @@ -53,7 +53,13 @@ /* Mail account main windows */ "Welcome to the SOGo Mailer. Use the folder tree on the left to browse your mail accounts!" = "Welcome to the SOGo Mailer. Use the folder tree on the left to browse your mail accounts!"; "Read messages" = "Read messages"; + +/* Tooltip for fab button */ "Write a new message" = "Write a new message"; + +/* Tooltip for fab button */ +"Write a message in new window" = "Write a message in new window"; + "Share" = "Share"; "Account" = "Account"; "Shared Account" = "Shared Account"; diff --git a/UI/Templates/MailerUI/UIxMailEditor.wox b/UI/Templates/MailerUI/UIxMailEditor.wox index 48a9ae492..920297f01 100644 --- a/UI/Templates/MailerUI/UIxMailEditor.wox +++ b/UI/Templates/MailerUI/UIxMailEditor.wox @@ -12,7 +12,8 @@ nv-file-drop="nv-file-drop" nv-file-over="nv-file-over" over-class="sg-over-dropzone" - uploader="editor.uploader"> + uploader="editor.uploader" + ng-controller="navController">
@@ -231,7 +232,7 @@