Monotone-Parent: e0c7704c039513e9d35441827fe46a04a1a4f5f7

Monotone-Revision: ee841fa65ddec5bf308a46939cb266bfd7f14732

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-04-15T15:01:16
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2008-04-15 15:01:16 +00:00
parent b498c8ff24
commit b3686b597e
4 changed files with 16 additions and 0 deletions
+6
View File
@@ -1,3 +1,9 @@
2008-04-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailEditor.m ([UIxMailEditor -isMailReply]): new
method that returns the JS values "true" or "false" as strings is
the mail has a non-null count of recipients.
2008-04-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m ([SOGoAppointmentFolder -davCalendarQuery:queryContext])
+4
View File
@@ -121,6 +121,10 @@ static NSArray *infoKeys = nil;
}
/* accessors */
- (NSString *) isMailReply
{
return ([to count] > 0 ? @"true" : @"false");
}
- (void) setFrom: (NSString *) newFrom
{
+3
View File
@@ -11,6 +11,9 @@
title="panelTitle"
const:popup="YES"
const:jsFiles="UIxMailToSelection.js">
<script type="text/javascript">
var mailIsReply = <var:string value="isMailReply"/>;
</script>
<div class="menu" id="attachmentsMenu">
<ul>
<li><var:string label:value="Open"/></li>
+3
View File
@@ -312,6 +312,9 @@ function initMailEditor() {
onWindowResize(null);
Event.observe(window, "resize", onWindowResize);
Event.observe(window, "beforeunload", onMailEditorClose);
var focusField = (mailIsReply ? textarea : $("addr_0"));
focusField.focus();
}
function getMenus() {