diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-10 14:43:44 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-10 14:43:44 +0000 |
commit | 9f7545289ce2d8eda170baa14d740540cf25188f (patch) | |
tree | ff13894a059c6a8e018f244adb0888513deaf938 /Source | |
parent | c1561b572cb258a8ff1b8290c56cc22604d4aadd (diff) | |
download | sequelpro-9f7545289ce2d8eda170baa14d740540cf25188f.tar.gz sequelpro-9f7545289ce2d8eda170baa14d740540cf25188f.tar.bz2 sequelpro-9f7545289ce2d8eda170baa14d740540cf25188f.zip |
• Bundle HTML output
- display a JavaScript alert as sheet
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPBundleHTMLOutputController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m index 8ae91400..e675e9f5 100644 --- a/Source/SPBundleHTMLOutputController.m +++ b/Source/SPBundleHTMLOutputController.m @@ -314,7 +314,8 @@ - (void)webView:(WebView *)sender runJavaScriptAlertPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame { - NSLog(@"alert %@", message); + SPBeginAlertSheet(NSLocalizedString(@"JavaScript Alert", @"javascript alert"), NSLocalizedString(@"OK", @"OK button"), nil, nil, [self window], self, nil, nil, + [message description]); } - (BOOL)webView:(WebView *)sender runJavaScriptConfirmPanelWithMessage:(NSString *)message initiatedByFrame:(WebFrame *)frame |