mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
formatting and now subclassing is tested by Open a document
This commit is contained in:
1 parent
310422adb1
commit
fabe1d8991
5 files changed
+17
-10
No files matched your search
@@ -12,4 +12,12 @@
|
||||
return [CPDocumentController sharedDocumentController];
|
||||
}
|
||||
|
||||
/* Instead of throwing error in browser environment, show an alert
|
||||
*/
|
||||
- (void)openDocument:(id)aSender
|
||||
{
|
||||
var anAlert = [CPAlert alertWithError:@"Opening a document is not available!"];
|
||||
[anAlert beginSheetModalForWindow:[[CPApplication sharedApplication] mainWindow]];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user