From 7089489db96abdf109b247bafe93ed7d21b7efba Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 5 Nov 2018 15:35:13 +0100 Subject: [PATCH] Hide editor statusbar from compose dialog --- api/js/etemplate/et2_widget_htmlarea.js | 7 +++++++ mail/templates/default/compose.xet | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_htmlarea.js b/api/js/etemplate/et2_widget_htmlarea.js index 8ddf509eaf..08928a5a6d 100644 --- a/api/js/etemplate/et2_widget_htmlarea.js +++ b/api/js/etemplate/et2_widget_htmlarea.js @@ -67,6 +67,12 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2 description: "Display menubar at the top of the editor", type: "boolean", default: true + }, + statusbar: { + name: "Status bar", + description: "Enable/disable status bar on the bottom of ediotr", + type: "boolean", + default: true } }, @@ -116,6 +122,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_inputWidget.extend([et2 target: this.htmlNode[0], body_id: this.dom + '_htmlarea', menubar: false, + statusbar: this.options.statusbar, branding: false, resize: false, height: this.options.height, diff --git a/mail/templates/default/compose.xet b/mail/templates/default/compose.xet index 970374b1ee..dbac3874f6 100644 --- a/mail/templates/default/compose.xet +++ b/mail/templates/default/compose.xet @@ -87,7 +87,7 @@ - +