From 6f1c1baa201423dcb59f0b225d52f55672afa6cf Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 1 Mar 2010 15:31:20 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: bc53d4486da9eb6b195273cef7d073fdcf53aa5c Monotone-Revision: c753d4af992c07bd25d59ae087113384e379361b Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-03-01T15:31:20 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ UI/WebServerResources/UIxMailEditor.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cb3603edd..598f574af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-03-01 Francis Lachapelle + + * UI/WebServerResources/UIxMailEditor.js (-clickedEditorSend): + fixed wrong condition that would result in refusing to send a + message after having clicked on the Save button. + 2010-02-23 Ludovic Marcotte * Added a patch from Adam Yearout diff --git a/UI/WebServerResources/UIxMailEditor.js b/UI/WebServerResources/UIxMailEditor.js index 2bf431c43..b2464cb52 100644 --- a/UI/WebServerResources/UIxMailEditor.js +++ b/UI/WebServerResources/UIxMailEditor.js @@ -125,8 +125,8 @@ function validateEditorInput(sender) { return true; } -function clickedEditorSend(sender) { log (document.pageform.action); - if (document.pageform.action || !validateEditorInput(sender)) +function clickedEditorSend(sender) { + if (document.pageform.action == "send" || !validateEditorInput(sender)) return false; var input = currentAttachmentInput();