Monotone-Parent: 8330dfa1ad05eb096cee895845442bf564cf19bd

Monotone-Revision: 76cddf6cb9e25f13d7e93aef3285f53fe726efcc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-08-02T20:29:38
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2010-08-02 20:29:38 +00:00
parent 004b5300d5
commit 046a46b86a
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-08-02 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/NSNumber+Utilities.m (-jsonRepresentation):
returns "true" or "false" when the initial return value is "YES"
or "NO".
2010-07-30 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/SchedulerUI.js (deleteEvent): improved

View File

@ -28,8 +28,15 @@
- (NSString *) jsonRepresentation
{
NSString *jsonRepresentation;
return [NSString stringWithFormat: @"%@", self];
jsonRepresentation = [NSString stringWithFormat: @"%@", self];
if ([jsonRepresentation isEqualToString: @"YES"])
jsonRepresentation = @"true";
else if ([jsonRepresentation isEqualToString: @"NO"])
jsonRepresentation = @"false";
return jsonRepresentation;
}
@end