Add CPApplicationWillTerminateNotification.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2010-04-12 12:21:45 -07:00
1 parent 8aecf880e5
commit b3141f1a62
3 files changed
+43 -72

No files matched your search

+2 -2
View File
@@ -488,10 +488,10 @@ var CPDocumentUntitledCount = 0;
[_writeRequest setValue:@"close" forHTTPHeaderField:@"Connection"];
if (aSaveOperation == CPSaveOperation)
if (aSaveOperation === CPSaveOperation)
[_writeRequest setValue:@"true" forHTTPHeaderField:@"x-cappuccino-overwrite"];
if (aSaveOperation != CPSaveToOperation)
if (aSaveOperation !== CPSaveToOperation)
[self updateChangeCount:CPChangeCleared];
// FIXME: Oh man is this every looking for trouble, we need to handle login at the Cappuccino level, with HTTP Errors.