Monotone-Parent: 92ec8d2f76cb2878fe2ef2c11944485cc9b5127f
Monotone-Revision: fdaa9bb9f2456732024f9c342a2ebc46376564c1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-16T23:02:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
6a42264855
commit
2f23567109
|
@ -178,7 +178,7 @@ static NSArray *headers = nil;
|
|||
NSMutableArray *ma;
|
||||
|
||||
ma = [NSMutableArray arrayWithCapacity:3];
|
||||
if ([to isNotNull])
|
||||
if ([to isNotNull] && [to count] > 0)
|
||||
[ma addObject: to];
|
||||
if ([cc isNotNull])
|
||||
[ma addObject: cc];
|
||||
|
|
|
@ -151,4 +151,4 @@ UL#attachments LI IMG
|
|||
right: 0em;
|
||||
bottom: 0em;
|
||||
top: 13em;
|
||||
width: 100%; }
|
||||
width: 99%; }
|
||||
|
|
|
@ -4,11 +4,9 @@ function onContactAdd() {
|
|||
var selector = null;
|
||||
var selectorURL = '?popup=YES&selectorId=mailer-contacts';
|
||||
|
||||
urlstr = ApplicationBaseURL;
|
||||
if (urlstr[urlstr.length-1] != '/')
|
||||
urlstr += '/';
|
||||
urlstr += ("../../" + UserLogin + "/Contacts/"
|
||||
+ contactSelectorAction + selectorURL);
|
||||
urlstr = ApplicationBaseURL
|
||||
+ "../Contacts/"
|
||||
+ contactSelectorAction + selectorURL;
|
||||
var w = window.open(urlstr, "Addressbook",
|
||||
"width=640,height=400,resizable=1,scrollbars=0");
|
||||
w.selector = selector;
|
||||
|
|
|
@ -219,9 +219,8 @@ function hasRecipients() {
|
|||
var count;
|
||||
|
||||
count = this.getAddressCount();
|
||||
if (count > 0)
|
||||
return true;
|
||||
return false;
|
||||
|
||||
return (count > 0)
|
||||
}
|
||||
|
||||
/* addressbook helpers */
|
||||
|
|
Loading…
Reference in a new issue