parent
ffd58305d8
commit
14586d251e
|
@ -104,6 +104,13 @@ function insertContact(inputNode, contactName, contactEmail) {
|
||||||
inputNode.value = value;
|
inputNode.value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateWindowTitleFromSubject(event) {
|
||||||
|
if (this.value) {
|
||||||
|
document.title = this.value;
|
||||||
|
}else{
|
||||||
|
document.title = _("Untitled");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* mail editor */
|
/* mail editor */
|
||||||
|
|
||||||
|
@ -416,6 +423,9 @@ function initMailEditor() {
|
||||||
|
|
||||||
configureDragHandle();
|
configureDragHandle();
|
||||||
|
|
||||||
|
// Change the window title when typing the subject
|
||||||
|
$$("div#subjectRow input").first().on("keyup", updateWindowTitleFromSubject);
|
||||||
|
|
||||||
var composeMode = UserDefaults["SOGoMailComposeMessageType"];
|
var composeMode = UserDefaults["SOGoMailComposeMessageType"];
|
||||||
if (composeMode == "html") {
|
if (composeMode == "html") {
|
||||||
CKEDITOR.replace('text',
|
CKEDITOR.replace('text',
|
||||||
|
|
Loading…
Reference in New Issue