From 2239286697e3b116d19c7299e0f297ca02668835 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 6 Aug 2015 16:13:10 -0400 Subject: [PATCH] (js) Use CK Editor in mail account editor (Prefs) --- .../PreferencesUI/UIxAccountEditor.wox | 74 +++++++++++-------- UI/Templates/PreferencesUI/UIxPreferences.wox | 4 +- UI/WebServerResources/js/Preferences.app.js | 2 +- .../js/Preferences/AccountDialogController.js | 29 +++++--- .../js/Preferences/PreferencesController.js | 32 +++++--- 5 files changed, 87 insertions(+), 54 deletions(-) diff --git a/UI/Templates/PreferencesUI/UIxAccountEditor.wox b/UI/Templates/PreferencesUI/UIxAccountEditor.wox index 014cdd635..2d6599f65 100644 --- a/UI/Templates/PreferencesUI/UIxAccountEditor.wox +++ b/UI/Templates/PreferencesUI/UIxAccountEditor.wox @@ -17,66 +17,83 @@ + ng-readonly="$AccountDialogController.accountId == 0" + ng-model="$AccountDialogController.account.name"/> + ng-readonly="$AccountDialogController.accountId == 0" + ng-model="$AccountDialogController.account.serverName"/> + ng-readonly="$AccountDialogController.accountId == 0" + ng-model="$AccountDialogController.account.port"/> - - - - + + + + + ng-readonly="$AccountDialogController.accountId == 0" + ng-model="$AccountDialogController.account.userName"/> - + + ng-readonly="$AccountDialogController.customFromIsReadonly()" + ng-model="$AccountDialogController.account.identities[0].fullName"/> + ng-readonly="$AccountDialogController.customFromIsReadonly()" + ng-model="$AccountDialogController.account.identities[0].email"/> - + - - - - - + + + + + +
+ + +
- + @@ -84,7 +101,7 @@