Capture window.close calls (from JS) in AtomController

This commit is contained in:
Corey Johnson
2011-12-14 18:28:06 -08:00
parent fbb3efacf4
commit 4a2081e88d

View File

@@ -146,4 +146,8 @@
return defaultMenuItems;
}
- (void)webViewClose:(WebView *)sender { // Triggered when closed from javascript
[self close];
}
@end