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();