mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-23 19:04:18 +00:00
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:
@@ -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])
|
||||
|
||||
@@ -121,6 +121,10 @@ static NSArray *infoKeys = nil;
|
||||
}
|
||||
|
||||
/* accessors */
|
||||
- (NSString *) isMailReply
|
||||
{
|
||||
return ([to count] > 0 ? @"true" : @"false");
|
||||
}
|
||||
|
||||
- (void) setFrom: (NSString *) newFrom
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user