* WebView.subproj/WebHTMLView.m:
authorsullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2004 21:53:57 +0000 (21:53 +0000)
committersullivan <sullivan@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Sep 2004 21:53:57 +0000 (21:53 +0000)
        (-[WebHTMLView doCommandBySelector:]):
        Commented out part of previous change; it breaks Mail editing until Mail
        fixes bug 3810158.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7621 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/ChangeLog
WebKit/WebView.subproj/WebHTMLView.m

index f069aee..33e77cf 100644 (file)
@@ -1,5 +1,12 @@
 2004-09-21  John Sullivan  <sullivan@apple.com>
 
+        * WebView.subproj/WebHTMLView.m:
+        (-[WebHTMLView doCommandBySelector:]):
+        Commented out part of previous change; it breaks Mail editing until Mail
+        fixes bug 3810158.
+
+2004-09-21  John Sullivan  <sullivan@apple.com>
+
         Reviewed by Ken.
 
         * WebView.subproj/WebHTMLView.m:
index 8334128..18d35c8 100644 (file)
@@ -4046,7 +4046,9 @@ static DOMRange *unionDOMRanges(DOMRange *a, DOMRange *b)
 - (void)doCommandBySelector:(SEL)aSelector
 {
     WebView *webView = [self _webView];
-    if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector]) {
+    // FIXME 3810158: need to enable this code when Mail returns NO for this delegate method
+    if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector] || YES) {
+//  if (![[webView _editingDelegateForwarder] webView:webView doCommandBySelector:aSelector]) {
         [super doCommandBySelector:aSelector];
     }
 }